Bug 39987

Summary: Batch item deletion breadcrumb uses wrong link
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: Staff interfaceAssignee: Nick Clemens (kidclamp) <nick>
Status: Pushed to oldstable --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: fridolin.somers, gmcharlt, lucas
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
25.11.00,25.05.01,24.11.06
Circulation function:
Attachments: Bug 39987: Correct breadcrumbs link to batch item deletion
Bug 39987: Correct breadcrumbs link to batch item deletion
Bug 39987: Correct breadcrumbs link to batch item deletion

Description Nick Clemens (kidclamp) 2025-05-23 18:30:29 UTC
Currently it points to:
http://localhost:8081/cgi-bin/koha/tools/batchMod.pl

Should be:
http://localhost:8081/cgi-bin/koha/tools/batchMod.pl?del=1
Comment 1 Nick Clemens (kidclamp) 2025-05-23 18:53:41 UTC
Created attachment 182777 [details] [review]
Bug 39987: Correct breadcrumbs link to batch item deletion

This patch adds th del=1 param to the batchMod link in the breadcrumbs to ensure we return to batch item
deletion and not modification

To test:
1 - Browse to Cataloging->Batch item deletion
2 - Click the 'Batch item deletion' link in the breadcrumbs
3 - You are now at 'Batch item modification'
4 - Apply patch
5 - Repeat, you stay on the correct page
6 - Complete a batch item deletion and confirm the breadcrum is correct at each stage.
Comment 2 Roman Dolny 2025-05-23 19:14:19 UTC
Created attachment 182778 [details] [review]
Bug 39987: Correct breadcrumbs link to batch item deletion

This patch adds th del=1 param to the batchMod link in the breadcrumbs to ensure we return to batch item
deletion and not modification

To test:
1 - Browse to Cataloging->Batch item deletion
2 - Click the 'Batch item deletion' link in the breadcrumbs
3 - You are now at 'Batch item modification'
4 - Apply patch
5 - Repeat, you stay on the correct page
6 - Complete a batch item deletion and confirm the breadcrum is correct at each stage.

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Comment 3 Baptiste Wojtkowski (bwoj) 2025-05-28 09:31:25 UTC
Created attachment 182811 [details] [review]
Bug 39987: Correct breadcrumbs link to batch item deletion

This patch adds th del=1 param to the batchMod link in the breadcrumbs to ensure we return to batch item
deletion and not modification

To test:
1 - Browse to Cataloging->Batch item deletion
2 - Click the 'Batch item deletion' link in the breadcrumbs
3 - You are now at 'Batch item modification'
4 - Apply patch
5 - Repeat, you stay on the correct page
6 - Complete a batch item deletion and confirm the breadcrum is correct at each stage.

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
Comment 4 Lucas Gass (lukeg) 2025-06-02 20:59:25 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 5 Fridolin Somers 2025-06-19 07:27:46 UTC
I see in 25.05.x
Comment 6 Fridolin Somers 2025-06-19 07:28:27 UTC
Pushed to 24.11.x for 24.11.06
Comment 7 Paul Derscheid 2025-06-19 09:02:03 UTC
Nice work everyone!

Pushed to 25.05.x for 25.05.03