From: erickson Date: Tue, 28 Sep 2010 18:12:12 +0000 (+0000) Subject: repaired logic bug in lineitem worksheet template X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=85a39b713f8a54fe1bc32c817505406aaf3d7dd6;p=evergreen%2Fbjwebb.git repaired logic bug in lineitem worksheet template git-svn-id: svn://svn.open-ils.org/ILS/trunk@18083 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index ff139a221..027841890 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -4872,8 +4872,8 @@ $$ [% FOREACH detail IN li.lineitem_details.sort('owning_lib') %] [% - IF copy.eg_copy_id; - SET copy = copy.eg_copy_id; + IF detail.eg_copy_id; + SET copy = detail.eg_copy_id; SET cn_label = copy.call_number.label; ELSE; SET copy = detail;