]> git.koha-community.org Git - koha.git/commit
Bug 36511: Some scripts missing a dependency following Bug 24879 v22.05.20-2
authorOwen Leonard <oleonard@myacpl.org>
Tue, 9 Apr 2024 15:55:57 +0000 (15:55 +0000)
committerWainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Tue, 16 Apr 2024 01:48:08 +0000 (13:48 +1200)
commit3604df19920174c23a7385f7fb2cf5f62361e788
treedf9529802a38edf29cefd77744ca103eedb07a69
parentc6bcc534fdb8ea2b05daa88fbec4e3ae12bc637f
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>
Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
acqui/check_uniqueness.pl
catalogue/image.pl
labels/label-create-csv.pl
labels/label-create-xml.pl
serials/lateissues-export.pl