From: miker Date: Tue, 20 Jul 2010 15:54:00 +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=bd0f21de63ec13a6076bbf52686bf53843636bbc;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_1@16984 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