[open-ils-commits] r16984 - branches/rel_1_6_1/Open-ILS/src/sql/Pg (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Jul 20 11:54:03 EDT 2010


Author: miker
Date: 2010-07-20 11:54:00 -0400 (Tue, 20 Jul 2010)
New Revision: 16984

Modified:
   branches/rel_1_6_1/Open-ILS/src/sql/Pg/999.functions.global.sql
Log:
backporting r16982: use the correct table and field, caught by Doug Kyle and reported via IRC

Modified: branches/rel_1_6_1/Open-ILS/src/sql/Pg/999.functions.global.sql
===================================================================
--- branches/rel_1_6_1/Open-ILS/src/sql/Pg/999.functions.global.sql	2010-07-20 15:53:23 UTC (rev 16983)
+++ branches/rel_1_6_1/Open-ILS/src/sql/Pg/999.functions.global.sql	2010-07-20 15:54:00 UTC (rev 16984)
@@ -236,9 +236,9 @@
           FROM  xpath_table(
                     'id',
                     'marc',
-                    'acq.lineitem',
+                    'biblio.record_entry',
                     '//*[@tag="856"]',
-                    'id=' || lineitem
+                    'id=' || source_record
                 ) as t(i int,c text);
     
         FOR i IN 1 .. counter LOOP



More information about the open-ils-commits mailing list