Bug 42072

Summary: Batch item deletion "Delete records" message is confusing
Product: Koha Reporter: David Cook <dcook>
Component: CatalogingAssignee: David Cook <dcook>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: m.de.rooy
Version: MainKeywords: Academy
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
This change clarifies the option to delete bibliographic records if no items remain in the Batch Item Deletion cataloguing tool.
Version(s) released in:
Circulation function:
Attachments: Bug 42072: Improve message about deleting bib records
Bug 42072: Improve message about deleting bib records

Description David Cook 2026-03-12 04:24:28 UTC
I was doing a training course and I noticed that the message "Delete records if no items remain" on the Batch item deletion page is a bit confusing.

I asked the librarians in the course if they found it confusing and they indicated that they did. 

It would be better if it says "Delete bibliographic records if no items remain."
Comment 1 David Cook 2026-03-12 04:28:05 UTC
Created attachment 195156 [details] [review]
Bug 42072: Improve message about deleting bib records

This patch clarifies which records will be deleted in
the batch item deletion (when no items remain).

Test plan:
0. Apply the patch
1. Go to "Reports" and click "Create from SQL"
2. Create a report with the following SQL:
select itemnumber from items limit 5
3. Run the report and then click "Batch operations with 5 visible records"
on the output page
4. Near the bottom of the screen note that there is a checkbox that
has a label reading "Delete bibliographic records if no items remain."
5. C'est tout!
Comment 2 David Nind 2026-03-12 09:41:40 UTC
Created attachment 195160 [details] [review]
Bug 42072: Improve message about deleting bib records

This patch clarifies which records will be deleted in
the batch item deletion (when no items remain).

Test plan:
0. Apply the patch
1. Go to "Reports" and click "Create from SQL"
2. Create a report with the following SQL:
select itemnumber from items limit 5
3. Run the report and then click "Batch operations with 5 visible records"
on the output page
4. Near the bottom of the screen note that there is a checkbox that
has a label reading "Delete bibliographic records if no items remain."
5. C'est tout!

Signed-off-by: David Nind <david@davidnind.com>