]> git.koha-community.org Git - koha.git/commit
Bug 34401: Fix inconsistencies in Item search fields page titles, breadcrumbs, and...
authorOwen Leonard <oleonard@myacpl.org>
Wed, 4 Oct 2023 10:51:14 +0000 (10:51 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 17 Oct 2023 17:45:29 +0000 (14:45 -0300)
commitd10ce467f5b59d8ae8d1a776346eb40134f81dda
treec0a3e2ec6524ca0b7f80361ecefb458729748ba6
parent40b8180ff9bcfe75088c321af58d33719f073581
Bug 34401: Fix inconsistencies in Item search fields page titles, breadcrumbs, and headers

This patch fixes some inconsistencies in the item search fields
administration page, making sure the page title, breadcrumb navigation,
and page headers are consistent with each other.

The patch makes some changes to the way new item search fields are added
in order to keep the display consistent with other similar interfaces:
The "add" form is no longer shown dynamically from the page listing item
search fields. Clicking the "New search field" toolbar button will now
take you to the same template used for editing existing search fields.
This allows us to put the correct context into page title, breadcrumbs,
and headings.

To test, apply the patch and go to Administration -> Item search fields.
Test the process of adding a new search field and editing an existing
search field.

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
admin/items_search_field.pl
admin/items_search_fields.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_field.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_fields.tt
koha-tmpl/intranet-tmpl/prog/js/item_search_fields.js