Bug 41059

Summary: Clicking on the search bar buttons will not systematically put the cursor in the search box
Product: Koha Reporter: Koha collecto <koha>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: gmcharlt, kyle
Version: 24.05   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Koha collecto 2025-10-20 20:12:01 UTC
Hi !

In the search bar in the staff interface, if we double click on one of the buttons, the cursor is removed from the box. Also, depending on the page/where the cursor is focused, clicking on the buttons will not systematically put the cursor in the search box.

For exemple, if I log in Koha, I will be on the main page and my cursor will be in the search box, ready for a check out. If I click again on the check out button, my cursor disappears from the box. So if I double-click by mistake on a button, my cursor will not be in the box and I will need to click in the box to be able to search something.

Also, if I am in a page where the cursor is focused somewhere else than the search box, I won't be able to click on the check out button to check something out, as the cursor will not appear in the box.

So, for exemple, if I'm in the circulation module and choose check in, my cursor will be in the check in box. If I then want to check out something, I can't click on the check out button, since my cursor will not appear in the search box. I will need to click on the box to be able to check something out.

This will happen with any of the search bar buttons (check out, renew, check in, search catalog...).

What I would expect is, no matter where my cursor is, if I click on any of the search bar button at any giving time, my cursor will appear/stay in the search box.