Bug 34134

Summary: When viewing an authority details page the search bar is defaulted to the current records authority type
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: MARC Authority data supportAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: flyingendpaper
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Nick Clemens (kidclamp) 2023-06-27 17:06:18 UTC
This was true in previous versions, but is less visible now.

To recreate:
1 - Search authorities for "John"
2 - Click on "Uniform title: Jack Johnson"
3 - View the details page, ooooh
4 - Decide to search for John again
5 - This time you get one result?
6 - Click the settings in the search box
7 - Note you have been defaulted to 'Uniform title' authority type
Comment 1 Heather 2023-06-27 19:02:44 UTC
It is not only "less visible," it's hidden behind the three-kebab-thingie!  If I'm searching "Default" in Authorities (to retrieve multiple types of authorities, which I often do), then I view a Corporate Name, and I want to do another search, it's now completely hidden that the index has been changed to Corporate Name because I *viewed* a Corporate Name record.

The way the search box operates should be consistent with bibliographic searching.  In bibliographic searching, if I search keyword: fiction
Then get a results list, and select a title to view a record, the three-kebab-thingie is not changed to the search index Title!  (And I'm glad it isn't!!)  If I select a call number to view a record in the results list, my search index isn't invisibly changed to call number--happily!

The authorities search index under the three-kebab-thingie shouldn't change based on selecting a record for viewing.  I think the search index in authorities should not change until intentionally changed by the user.  It starts as Default, and I think it should stay that way until the user changes it.