]> git.koha-community.org Git - koha.git/commit
Bug 33069: Fix error in MARC download for OPAC lists
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 3 May 2023 21:28:30 +0000 (21:28 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 9 May 2023 13:57:55 +0000 (10:57 -0300)
commitc1c3b496689057688be0d1788d1c74d61aca1bef
tree9500814683dea11dad1487552c13974b155f6a90
parenta2e93646370c50bc0bc46ae85504598626c5edb6
Bug 33069: Fix error in MARC download for OPAC lists

There was a code typo causing an error when you tried
to download a list in MARC format:

Not a CODE reference at /kohadevbox/koha/opac/opac-downloadshelf.pl line 93

To test:
* In the OPAC: create a new list, public or private, with some records
* Open the list
* Try to download the list as MARC
* Verify you get an error
* Apply patch
* Verify you now get the expected download file
* Sign off :)

Co-authored-by: Kévin AYRAULT <kevin.ayrault87@gmail.com>
Signed-off-by: Magnus Enger <magnus@libriotech.no>
Nasty error before the patch; nice, tasty MARC download after.
Signed-off-by: Hinemoea Viault <hinemoea.viault@inlibro.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
opac/opac-downloadshelf.pl