]> git.koha-community.org Git - koha.git/commit
Bug 33494: Make filters a toggle
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 27 Dec 2023 16:01:05 +0000 (16:01 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 29 Apr 2024 16:53:10 +0000 (18:53 +0200)
commitb173ff729d1efc932456b48667f76e9de6633046
treef9327f431aad203fc9fa4dde5ee2d591f5aa9e37
parent631a80aaee684e243ab9ce51f72a866270145666
Bug 33494: Make filters a toggle

This patch updates the markup to make the 'Filter resolved | Show all' a
toggle filter rather than two buttons.

Test plan
1. Enable the CatalogConcerns system preference.
2. For two records, add a catalog concern (New > New catalog concern).
3. Resolve one of the concerns (Cataloging > Reports > Catalog concerns)
   - click on the 'Details' button then the 'Resolve' button.
4. Note that the filters at the top of the page are labelled: Hide
   resolved | Show all
5. Apply the patch and refresh the page.
6. Note that it is now a 'toggle': 'Include resolved' (default) or
   'Filter resolved'

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
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-tmpl/intranet-tmpl/prog/en/modules/cataloguing/concerns.tt