]> git.koha-community.org Git - koha.git/commit
Bug 21853: Fix PDF export of basketgroups
authorJulian Maurice <julian.maurice@biblibre.com>
Sat, 17 Nov 2018 10:58:02 +0000 (11:58 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 21 Nov 2018 11:08:23 +0000 (11:08 +0000)
commit3c18d4c18fad5a0d470c7bdf1ac746a640f25099
tree08dce489107ab5a7b2c53273e329251ab49e450a
parent9166ba2bff5898f4b93593a60372e8fb2253d44a
Bug 21853: Fix PDF export of basketgroups

In recent versions of Perl, '.' is not included by default in @INC. This
breaks PDF export of basketgroups.

This patch moves acqui/pdfformat/*.pm files in Koha namespace so that
they can be 'require'd without manipulating @INC

Test plan:
1. Turn off Plack/Starman and test PDF export for every value of
   OrderPdfFormat system preference
2. Turn on Plack/Starman and test PDF export for every value of
   OrderPdfFormat system preference
3. Test on a dev install and a standard/package install

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/pdfformat/layout2pages.pm [new file with mode: 0644]
Koha/pdfformat/layout2pagesde.pm [new file with mode: 0644]
Koha/pdfformat/layout3pages.pm [new file with mode: 0644]
Koha/pdfformat/layout3pagesfr.pm [new file with mode: 0644]
acqui/basketgroup.pl
acqui/pdfformat/layout2pages.pm [deleted file]
acqui/pdfformat/layout2pagesde.pm [deleted file]
acqui/pdfformat/layout3pages.pm [deleted file]
acqui/pdfformat/layout3pagesfr.pm [deleted file]