Bug 36511: Some scripts missing a dependency following Bug 24879 22.11.x
authorOwen Leonard <oleonard@myacpl.org>
Tue, 9 Apr 2024 15:55:57 +0000 (15:55 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 15 Apr 2024 07:49:13 +0000 (07:49 +0000)
commit2eab2949fc50c752c3bf950c887e54845353e900
tree76c852113e44bb29b78e68554541b622cf3275d3
parent3d4016ef310853981084d7ea44b8ce5f2132cf5f
Bug 36511: Some scripts missing a dependency following Bug 24879

These files needed the addition of 'use C4::Auth qw( check_cookie_auth
);'.

To test, apply the patch and restart services.

- If necessary, enable the LocalCoverImages system preference.
- Open the browser console and then the "Network" tab. You can click
  "Images" to filter for the correct kind of request.
- Perform a catalog search. After the search has loaded, check that
  there are no 500 errors in the Network tab.

- Go to Cataloging -> Label creator.
- If necessary, create a label batch and add some items.
- Export your batch and test both the "Download as CSV" and "Download as
  XML" links. Both should trigger the correct download.

- Go to Serials -> Claims, and select a vendor with late issues.
- Select all late issues and click "Download selected claims" at the
  bottom of the page.
- Your CSV file should download correctly.

The file acqui/check_uniqueness.pl has been corrected as well but I'm
not sure how to test it!

Signed-off-by: danyonsewell <danyonsewell@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 747f5132311ea51ea6babbfc92a775ac0c67f93a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 01b22fb71d30f56d3102837b5c9b4cfdacbc9e76)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 72cead50b49efaad6349cf653b970e6f5b610475)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
acqui/check_uniqueness.pl
catalogue/image.pl
labels/label-create-csv.pl
labels/label-create-xml.pl
serials/lateissues-export.pl