From 85a39b713f8a54fe1bc32c817505406aaf3d7dd6 Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 28 Sep 2010 18:12:12 +0000 Subject: [PATCH] repaired logic bug in lineitem worksheet template git-svn-id: svn://svn.open-ils.org/ILS/trunk@18083 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.11.0