LP#1370694 Selfcheck: "Print List" for Holds view does not work user/mccanna/lp1370694_selfcheck_printing_holds
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 1 Mar 2016 21:47:20 +0000 (16:47 -0500)
committerTerran McCanna <tmccanna@georgialibraries.org>
Tue, 1 Mar 2016 21:47:20 +0000 (16:47 -0500)
commit9a97b90dfd1f5d2f1d806b0bcc2b0612d19fda86
tree0bb80ea55f9fddfdc2a38385ebf67f2994853868
parentaca6cb94494320381c911c1c243fd4c7dc1c288d
LP#1370694 Selfcheck: "Print List" for Holds view does not work

Prior to this change, the holds data was not getting passed to the
print function. Now, it is being captured and passed to the print
function. Because of some sorting discrepancies between the order of
the information being passed from here to the action trigger and the
order that the information is presented when pulled directly out of the
database by the action trigger (which led to data mismatches between the
title/author and the hold status/pickup locations for each printed item),
I modified this script to pass all of the hold information together in the
desired order to the action trigger rather than relying on the template
to match the data coming from the script with the data from the database.

This change requires the action trigger printing template to be updated in
order to work. I've included an upgrade script as well as an update to the
seed data script.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.selfcheck_holds_printing.sql [new file with mode: 0644]
Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js
docs/RELEASE_NOTES_NEXT/Circulation/selfcheck_printing_holds.adoc [new file with mode: 0644]