Bug 34960

Summary: Page does not load at in-page anchor after applying item template
Product: Koha Reporter: Jason Robb <jrobb>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: flyingendpaper, lauren_denny, m.de.rooy, mnero, mspinney
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 Jason Robb 2023-09-29 14:15:10 UTC
When adding or editing an item at additem.pl, the page loads at the in-page anchor for the form. After applying an item template, the anchor is not used so one must scroll to get back down to the form which is cumbersome on records with many items.

To replicate:
1.) Click New > New Item from an existing record -- the page loads at the top of the form
2.) Create an item template by filling in a field and clicking 'Save as template' at the bottom
3.) Apply the item template -- the page loads at the top of the page rather than the top of the form