LP#1370694 Selfcheck: "Print List" for Holds view does not work
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 1 Mar 2016 21:47:20 +0000 (16:47 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 14 Mar 2016 21:36:35 +0000 (17:36 -0400)
commit107eac51aa2378515eb92da6c8604466bf045608
treea15ca9fe4f617fec9814ff169896da77d0ae87f6
parent66f14b6e9d8c1b1ceba9332a37db0d9c2ff3a24e
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>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
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]