Bug 31220: Pass label batch and ids to label-create-pdf
authorNick Clemens <nick@bywatersolutions.com>
Fri, 22 Jul 2022 11:36:06 +0000 (11:36 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 19 Aug 2022 19:13:56 +0000 (19:13 +0000)
commit72c052c7f32b0c647c2b5e00b6a58a11ae6514e2
treeb5fbffe976e7b58c0a917bd34b14e022cc891c51
parent43bc5651f4516eadcbc07eb7ea9a6399908d0b26
Bug 31220: Pass label batch and ids to label-create-pdf

This patch fixes a malformed link to print selected labels
and fix error:
Can't locate object method "get_attr" via package "-2" (perhaps you forgot to load "-2"?) at /usr/share/koha/intranet/cgi-bin/labels/label-create-pdf.pl line 126.

To test:
1 - Create a new label batch with some items
2 - Select 1 or more
3 - Export selected labels
4 - Download as PDF
5 - It works!

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 470fb6b6d8ab06a3750b147721fb139ced45a532)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt