Bug 40702

Summary: Inventory CSV export missing "title" header
Product: Koha Reporter: David Cook <dcook>
Component: ToolsAssignee: David Cook <dcook>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38946
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 40702: Add missing "Title" header in Inventory csv export

Description David Cook 2025-08-26 07:06:24 UTC
The CSV export for the Inventory table is missing the "Title" heading.

This is because in the code it uses "biblioitems.title" instead of "biblio.title".
Comment 1 David Cook 2025-08-26 07:08:14 UTC
Created attachment 185787 [details] [review]
Bug 40702: Add missing "Title" header in Inventory csv export

This patch adds a missing "Title" header in the Inventory csv export.

Test plan:
0. Apply the patch and koha-plack --restart kohadev
1. Go to http://localhost:8081/cgi-bin/koha/tools/inventory.pl
2. Check the "Export to CSV file" checkbox and click "Submit"
3. In the export, note that the A1 cell now says "Title"