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>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit fd2c0709bb)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Nick Clemens 2025-05-23 18:47:17 +00:00 committed by Paul Derscheid
parent 35aa5bd0bd
commit 056ce915ff
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
[% END %]
[% IF ( show || op == "enqueued") %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/tools/batchMod.pl">Batch item deletion</a>
<a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a>
[% END %]
[% ELSE %]
[% WRAPPER breadcrumb_item bc_active= 1 %]