]> git.koha-community.org Git - koha.git/commit
Bug 33422: (bug 32728 follow-up) ERM - Update search header depending on navigation
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 5 Apr 2023 15:30:58 +0000 (15:30 +0000)
committerJacob O'Mara <jacobomara901@gmail.com>
Sun, 16 Apr 2023 17:37:39 +0000 (18:37 +0100)
commitb58d413963a2d0129c2b13d699de7397685882c8
treeb76d2ec5edc0ab87e44eb6ddb13c947b745a1127
parent7dc31d6587bd928373f14ac0a821733bc9e0cb43
Bug 33422: (bug 32728 follow-up) ERM - Update search header depending on navigation

This patch removes reference to a non-existent id ("ui-id-X") and replaces it with new ids specific to agreements, titles and packages.

Test plan:
1) Apply patch
2) Navigate between Agreements, Packages, Titles using the sidebar. The search bar should change each time to match the section
3) Add some agreemens, packages, titles
4) Perform a search using the different search bar options. Each time it should take you to the correct page with the search activated in the KohaTable. The navbar should also be highlighted to match the correct section and the top search bar should also show the correct section

Signed-off-by: David Nind <david@davidnind.com>
JD Amended commit message: link with 32728
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 7cc6ae331dee2fde47c59cc9b718ab8a10384358)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/erm-search.inc
koha-tmpl/intranet-tmpl/prog/js/vue/modules/erm.ts