Bug 31400

Summary: Set focus for cursor to matching rule code when adding a new matching rule
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: TemplatesAssignee: Katrin Fischer <katrin.fischer>
Status: CLOSED FIXED QA Contact: Kyle M Hall <kyle>
Severity: enhancement    
Priority: P5 - low CC: barbara.johnson, kyle
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
22.11.00
Bug Depends on:    
Bug Blocks: 31411    
Attachments: Bug 31400: Set focus on first input when adding a new matching rule
Bug 31400: Set focus on first input when adding a new matching rule
Bug 31400: Set focus on first input when adding a new matching rule

Description Katrin Fischer 2022-08-18 20:53:45 UTC

    
Comment 1 Katrin Fischer 2022-08-18 20:57:52 UTC
Created attachment 139429 [details] [review]
Bug 31400: Set focus on first input when adding a new matching rule

When adding a new matching rule the cursor/focus should be in
the first input field of the form: Matching rule code

* Add a new matching rule form administration > matching rules
* Verify the cursor is in the search form on top of the page
* Apply patch
* Add another new matching rule
* Verify the cursor is now in the first input field of the form
Comment 2 ByWater Sandboxes 2022-08-18 21:11:09 UTC
Created attachment 139432 [details] [review]
Bug 31400: Set focus on first input when adding a new matching rule

When adding a new matching rule the cursor/focus should be in
the first input field of the form: Matching rule code

* Add a new matching rule form administration > matching rules
* Verify the cursor is in the search form on top of the page
* Apply patch
* Add another new matching rule
* Verify the cursor is now in the first input field of the form

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Comment 3 Katrin Fischer 2022-08-18 21:17:10 UTC
Thanks Barbara :)
Comment 4 Kyle M Hall 2022-09-02 14:33:00 UTC
Created attachment 140154 [details] [review]
Bug 31400: Set focus on first input when adding a new matching rule

When adding a new matching rule the cursor/focus should be in
the first input field of the form: Matching rule code

* Add a new matching rule form administration > matching rules
* Verify the cursor is in the search form on top of the page
* Apply patch
* Add another new matching rule
* Verify the cursor is now in the first input field of the form

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 5 Tomás Cohen Arazi 2022-09-07 20:46:31 UTC
Pushed to master for 22.11.

Nice work everyone, thanks!