Bug 41108 - Scroll to form when using "Add and duplicate" button to duplicate the item
Summary: Scroll to form when using "Add and duplicate" button to duplicate the item
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Peter Vashchuk
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-27 14:45 UTC by Peter Vashchuk
Modified: 2025-10-27 14:47 UTC (History)
2 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 41108: Scroll to form on use of "Add and duplicate" button (2.65 KB, patch)
2025-10-27 14:47 UTC, Peter Vashchuk
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Vashchuk 2025-10-27 14:45:56 UTC
One of our customers wants to access the "Add item" form directly after clicking "Add and duplicate" without having to use "Jump to form" repeatedly.
Comment 1 Peter Vashchuk 2025-10-27 14:47:53 UTC
Created attachment 188477 [details] [review]
Bug 41108: Scroll to form on use of "Add and duplicate" button

This patch gets you to the Add item form directly after you press "Add and duplicate" button to duplicate the item.

Steps to reproduce:
1. Find a biblio with many items or make one yourself.
2. Use the "New" dropdown and go to the add item interface.
3. Use "Add and duplicate" button to duplicate the item.
4. Apply the patch.
5. Reload the page and use "Add and duplicate" button to duplicate the item again. It should take you to the Add item form directly.