Bug 26737

Summary: Focus for cursor is in cataloging search input box on additem.pl
Product: Koha Reporter: Barbara Johnson <barbara.johnson>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy
Version: MainKeywords: regression
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 31411    

Description Barbara Johnson 2020-10-19 16:53:32 UTC
Set the focus for the cursor to the cataloging search input box on additem.pl so the user can just start typing and eliminate an extra click.  It's already set up this way on addbooks.pl so it would be nice to have it work the same way here.
Comment 1 Owen Leonard 2020-10-19 17:43:50 UTC
I disagree about this one. The cursor focus on addbooks.pl makes sense because performing a search is one of only two likely actions the user can take--it's either that or create a new record.

When the user arrives at additem.pl they might be adding a new item, editing an existing one, or be on to the next task. Only in the last case is the focus on the search field helpful.
Comment 2 Owen Leonard 2020-10-19 17:46:18 UTC
It was previously considered a bug that focus was on the search field: Bug 11905
Comment 3 Barbara Johnson 2020-10-20 13:38:00 UTC
I see your point.  We use some jQuery to set the focus of the cursor which provides efficiency for our workflow but I can see how that might not apply to every library.
Comment 4 Katrin Fischer 2022-08-18 19:40:15 UTC
It looks like the cursor is (back) in the cataloging search form now?

I tested:
* From start page open cataloguing module
* Cursor is on top in the 'Cataloguing search'

Not sure if this makes this resolved or opens a new bug...
Comment 5 Katrin Fischer 2023-01-24 00:19:30 UTC
(In reply to Katrin Fischer from comment #4)
> It looks like the cursor is (back) in the cataloging search form now?
> 
> I tested:
> * From start page open cataloguing module
> * Cursor is on top in the 'Cataloguing search'
> 
> Not sure if this makes this resolved or opens a new bug...

Definitely back in in the top search.
Comment 6 Katrin Fischer 2023-02-05 00:40:03 UTC
I am rephrasing this bug a little since this has now been identified as a regression of Bug 11905.