Bug 32435: Add resolution states to Catalog concerns
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 21 Dec 2023 15:58:41 +0000 (15:58 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 30 Apr 2024 10:01:08 +0000 (12:01 +0200)
commiteec197565ca8dc1ecb7243b3c03ec4e8acc22ac9
tree26b49daa2653053f4a5f71b860865cc032f9348e
parent038ac93103a6a36d44738b28cfb1ccdd7a548023
Bug 32435: Add resolution states to Catalog concerns

This patch adds resolution types to the catalog concerns feature. It
allows libraries to define a list of 'TICKET_RESOLUTION' authorized
values from which librarians can then pick at the point of resolving a
catalog concern.

To test:
1) Apply the patches and run the database updates
2) Enable catalog concerns (staff or opac will do the trick)
3) Submit a catalog concern
4) Confirm that you can still resolve a concern from the catalog
   concerns management page as before.
5) Add some values to the new TICKET_RESOLUTION authorized values
6) Submit a new catalog concern
7) Confirm that the 'Resolve' button in the management modal is now a
   dropdown containing the list of resolution values defined above.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Ray Delahunty <lib-systems@arts.ac.uk>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Ticket.pm
Koha/Ticket/Update.pm
koha-tmpl/intranet-tmpl/prog/en/includes/modals/display_ticket.inc
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/concerns.tt
koha-tmpl/intranet-tmpl/prog/js/modals/display_ticket.js