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: Jesse Maseto <jesse@bywatersolutions.com>

	modified:   koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt
This commit is contained in:
Nick Clemens 2025-05-23 18:47:17 +00:00 committed by Jesse Maseto
parent 2e115a41b1
commit 25dfb06f9b
No known key found for this signature in database
GPG Key ID: 4D16BFCF78FFFDEC
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,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 %]