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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 3 Aug 2022 14:49:46 +0000 (11:49 -0300)
commit470fb6b6d8ab06a3750b147721fb139ced45a532
tree610ba5b97944bcde1bb0ce19bcf7549c386df59d
parentb0a77687ac1ece0b767da836b7e9c7d37e10e698
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>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt