Bug 40207 - Bad redirection after Batch item deletion
Summary: Bad redirection after Batch item deletion
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: 24.05
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-20 15:56 UTC by Koha collecto
Modified: 2025-06-20 16:03 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Example of the bug (1.61 MB, video/mp4)
2025-06-20 15:56 UTC, Koha collecto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Koha collecto 2025-06-20 15:56:55 UTC
Created attachment 183398 [details]
Example of the bug

After deleting a batch of items, I clicked on the "Batch item deletion" button, at the top of the page, and am directed to the "Batch item MODIFICATION" page (Example URL : https://dev.koha.ca/cgi-bin/koha/tools/batchMod.pl). I should instead be redirected to the "Batch item DELETION" page (Example URL : https://dev.koha.ca/cgi-bin/koha/tools/batchMod.pl?del=1).

The redirect URL should be changed for : https://dev.koha.ca/cgi-bin/koha/tools/batchMod.pl?del=1

See the attached video for the example.

Tested in version 24.05 and 25.05.

Test plan : 
1. Go to the cataloging module.
2. Click on "Batch item deletion" button
3. Copy a barcode into the "Barcode list" box.
4. Click on "Continue" button
5. Click on "Delete selected items" button
6. Click on "Batch item deletion" button at the top of the page
7. Notice that you have been redirected to "Batch item modification" and not "Batch item deletion".



I also tested the button for "Batch RECORD deletion" and it redirects us to the correct page : "Batch record deletion" (https://dev-intranet.koha.collecto.ca/cgi-bin/koha/tools/batch_delete_records.pl).
Comment 1 Koha collecto 2025-06-20 16:03:57 UTC
Correction : Button in breadcrumbs.