From: Steven Callender Date: Thu, 25 Aug 2011 14:36:29 +0000 (+0000) Subject: Cleaned up action triggers a little bit. Added the editor param to the auto lost... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=574375aa4158f1a7a44f8971a75ccf62f3f8b7c9;p=working%2FEvergreen.git Cleaned up action triggers a little bit. Added the editor param to the auto lost, because triggers will fail without this. Also removed the using of simple_records in some of the notices and changed it to something more effecient. Changed the using of total money owed, to balance owed. Signed-off-by: Steven Callender --- diff --git a/Open-ILS/src/sql/Pg/1.4.0.5-1.6.0.0-upgrade-db.sql b/Open-ILS/src/sql/Pg/1.4.0.5-1.6.0.0-upgrade-db.sql index 28deca4015..5aa9bbf651 100644 --- a/Open-ILS/src/sql/Pg/1.4.0.5-1.6.0.0-upgrade-db.sql +++ b/Open-ILS/src/sql/Pg/1.4.0.5-1.6.0.0-upgrade-db.sql @@ -3507,8 +3507,8 @@ The item(s) you requested are available for pickup from the Library. [% FOR hold IN target %] [%- copy_details = helpers.get_copy_bib_basics(hold.current_copy.id) -%] - Title: [% helpers.escape_xml(copy_details.title) %] - Author: [% helpers.escape_xml(copy_details.author) %] + Title: [% copy_details.title %] + Author: [% copy_details.author %] Call Number: [% hold.current_copy.call_number.label %] Barcode: [% hold.current_copy.barcode %] Library: [% hold.pickup_lib.name %] diff --git a/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql b/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql index cbdcc69803..67e8596321 100644 --- a/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql +++ b/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql @@ -2733,8 +2733,8 @@ no action is required. [% FOR hold IN target %] [%- copy_details = helpers.get_copy_bib_basics(hold.current_copy.id) -%] - Title: [% helpers.escape_xml(copy_details.title) %] - Author: [% helpers.escape_xml(copy_details.author) %] + Title: [% copy_details.title %] + Author: [% copy_details.author %] [% END %] $$ ); 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 c41e70fc11..de15392629 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -5096,8 +5096,8 @@ The item(s) you requested are available for pickup from the Library. [% FOR hold IN target %] [%- copy_details = helpers.get_copy_bib_basics(hold.current_copy.id) -%] - Title: [% helpers.escape_xml(copy_details.title) %] - Author: [% helpers.escape_xml(copy_details.author) %] + Title: [% copy_details.title %] + Author: [% copy_details.author %] Call Number: [% hold.current_copy.call_number.label %] Barcode: [% hold.current_copy.barcode %] Library: [% hold.pickup_lib.name %] @@ -5229,8 +5229,8 @@ no action is required. [% FOR hold IN target %] [%- copy_details = helpers.get_copy_bib_basics(hold.current_copy.id) -%] - Title: [% helpers.escape_xml(copy_details.title) %] - Author: [% helpers.escape_xml(copy_details.author) %] + Title: [% copy_details.title %] + Author: [% copy_details.author %] [% END %] $$ );