Bug 31409

Summary: Set focus for cursor to Fund code when adding a new fund
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: TemplatesAssignee: Katrin Fischer <katrin.fischer>
Status: CLOSED FIXED QA Contact: Kyle M Hall <kyle>
Severity: minor    
Priority: P5 - low CC: isobel.graham09, jonathan.druart, kyle, lucas, martin.renvoize
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:
23.05.00,22.11.05
Bug Depends on:    
Bug Blocks: 31411    
Attachments: Bug 31409: Set focus for cursor to Fund code when adding a new fund
Bug 31409: Set focus for cursor to Fund code when adding a new fund
Bug 31409: Set focus for cursor to Fund code when adding a new fund

Description Katrin Fischer 2022-08-18 21:55:46 UTC
When adding a new fund form administration or acquisition the focus should be on the first input field of the entry form: Fund code
Comment 1 Katrin Fischer 2023-02-05 00:10:58 UTC
Created attachment 146179 [details] [review]
Bug 31409: Set focus for cursor to Fund code when adding a new fund

This makes sure that the focus is on the first input field
of the form when adding or editing a fund.

To test:
* Go to administration > funds
* Add a new fund to the budget
* Verify the focus is not inside the form
* Apply patch
* Verify the focus is now in the first form field "Fund code"
Comment 2 Owen Leonard 2023-02-06 13:43:14 UTC
Created attachment 146270 [details] [review]
Bug 31409: Set focus for cursor to Fund code when adding a new fund

This makes sure that the focus is on the first input field
of the form when adding or editing a fund.

To test:
* Go to administration > funds
* Add a new fund to the budget
* Verify the focus is not inside the form
* Apply patch
* Verify the focus is now in the first form field "Fund code"

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 3 Jonathan Druart 2023-02-23 10:42:14 UTC
Related to bug 31410 comment 3.
Comment 4 Kyle M Hall 2023-03-24 16:55:33 UTC
Created attachment 148684 [details] [review]
Bug 31409: Set focus for cursor to Fund code when adding a new fund

This makes sure that the focus is on the first input field
of the form when adding or editing a fund.

To test:
* Go to administration > funds
* Add a new fund to the budget
* Verify the focus is not inside the form
* Apply patch
* Verify the focus is now in the first form field "Fund code"

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 5 Tomás Cohen Arazi 2023-03-31 10:37:56 UTC
Pushed to master for 23.05.

Nice work everyone, thanks!
Comment 6 Matt Blenkinsop 2023-04-11 11:33:36 UTC
Nice work everyone!

Pushed to stable for 22.11.x