From: miker Date: Tue, 20 Jul 2010 15:53:23 +0000 (+0000) Subject: backporting r16982: use the correct table and field, caught by Doug Kyle and reported... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=14a55285cec1acb995aaa48ef5abbf1b345b8c10;p=Evergreen.git backporting r16982: use the correct table and field, caught by Doug Kyle and reported via IRC git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@16983 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/999.functions.global.sql b/Open-ILS/src/sql/Pg/999.functions.global.sql index c26d00f7ae..1fe4bedf21 100644 --- a/Open-ILS/src/sql/Pg/999.functions.global.sql +++ b/Open-ILS/src/sql/Pg/999.functions.global.sql @@ -236,9 +236,9 @@ BEGIN 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