]> git.evergreen-ils.org Git - Evergreen.git/commit - Open-ILS/src/eg2/src/app/staff/catalog/search-form.component.html
LP#2007603: restore functioning of default search tab preference
authorGalen Charlton <gmc@equinoxOLI.org>
Thu, 5 Oct 2023 14:57:20 +0000 (10:57 -0400)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Fri, 13 Oct 2023 17:17:54 +0000 (10:17 -0700)
commitadf3bd07e0e4558e9d48f9cdf5081e956eef7866
treeb6269c55a2df24851fea184918e3aa4d7d44ff96
parent913424321450d6285828c7515f09d17d200e9d77
LP#2007603: restore functioning of default search tab preference

This patch restores the ability of the staff catalog search
preference for setting the default search tab to function as
expected.

To test
-------
[1] Set the default search tab preference to something like
    'MARC' in the Angular staff catalog.
[2] Navigate away from, then back to the search form.
[3] Note that the active tab is set to 'keyword'.
[4] Apply the patch and repeat step 2. This time, the active
    tab should match the preference.
[5] Verify that direct navigation to a specfied tab (e.g.,
    /eg2/en-US/staff/catalog/search?searchTab=ident works
    as expect - in particular, if you specify a searchTab
    in the URL, the preference should be ignored.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Open-ILS/src/eg2/src/app/staff/catalog/search-form.component.html