]> git.koha-community.org Git - koha.git/commit
Bug 5087: Ability to define whether CSV profile shows in OPAC
authorAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 20 Dec 2018 22:52:59 +0000 (22:52 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 23 Jul 2020 08:52:10 +0000 (10:52 +0200)
commitae3644a5947ea410fc3e8ac8b64307df7d1cbb18
tree14fd8fac971bc08314359226eecf25059c921a86
parent07a7dbbcf427dfcff9aa386832e9f9cf1c4b4828
Bug 5087: Ability to define whether CSV profile shows in OPAC

To test:
1) Update database
2) Update schema
3) In staff side, go to Tools -> CSV profiles
4) Make a CSV profile with profile type = MARC and usage = Export
records
5) Leave 'Show option in OPAC' unchecked and save
6) Go to OPAC and add an item to your cart
7) Click Cart, click Download, confirm that your newly created CSV
profile does not show as an option
8) Go back and edit CSV profile on staff side
9) Check the 'Show option in OPAC' checkbox and save
10) Go back to download cart in OPAC
11) Confirm the CSV profile now shows in the dropdown

Sponsored-by: Catalyst IT
Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Schema/Result/ExportFormat.pm
installer/data/mysql/atomicupdate/bug_5087_-_add_opac_option_field_to_export_formats.perl [new file with mode: 0644]
installer/data/mysql/kohastructure.sql
koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt
opac/opac-downloadcart.pl
tools/csv-profiles.pl