Bug 23455: Patron card printing from Patron lists is broken
authorOwen Leonard <oleonard@myacpl.org>
Thu, 15 Aug 2019 13:46:35 +0000 (13:46 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 28 Aug 2019 13:22:39 +0000 (15:22 +0200)
commitca04ab8d7fb104961f1e299057ca02ef797aa20f
tree4507e584b500dd4b7de1095322696f2112ec7ac3
parenta94bacb02a856bd9b3dbe9ba2ed05c11fbef5bed
Bug 23455: Patron card printing from Patron lists is broken

This patch makes a few corrections to the process of printing patron
cards from the patron lists page. These changes are necessitated by Bug
20650: Changes to the markup in patroncards/print.tt were not reflected
in the JavaScript in patron_lists/lists.tt.

Also fixed: A missing quotation mark, a missing semicolon, and
incorrect template variable filter.

To test, apply the patch and go to Tools -> Patron lists.

 - Click the "Actions" menu corresponding to a patron list.
 - Select "Print patron cards."
 - In the "Print patron cards" modal, click the "Export" button.
 - The modal should reload with a link to download a patron card PDF.
   The link should work correctly.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit a57aea15a7f86e71bdfb6d6540aed18b2702b226)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt
koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt