Bug 40702

Summary: Inventory CSV export missing "title" header
Product: Koha Reporter: David Cook <dcook>
Component: ToolsAssignee: David Cook <dcook>
Status: Pushed to stable --- QA Contact: Jonathan Druart <jonathan.druart>
Severity: minor    
Priority: P5 - low CC: jonathan.druart, lucas
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:
25.11.00,25.05.04
Circulation function:
Attachments: Bug 40702: Add missing "Title" header in Inventory csv export
Bug 40702: Add missing "Title" header in Inventory csv export
Bug 40702: Add missing "Title" header in Inventory csv export
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"
Comment 2 Noah Tremblay 2025-09-04 15:48:12 UTC
Created attachment 186168 [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"

Signed-off-by: noah <noah@inlibro.com>
Comment 3 Jonathan Druart 2025-09-15 14:23:05 UTC
Created attachment 186406 [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"

Signed-off-by: noah <noah@inlibro.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 4 Jonathan Druart 2025-09-15 14:49:46 UTC
Created attachment 186434 [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"

Signed-off-by: Noah Tremblay <noah.tremblay@inlibro.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 5 Jonathan Druart 2025-09-15 14:50:04 UTC
Fixed Noah's signed-off-by line.
Comment 6 Lucas Gass (lukeg) 2025-09-18 19:54:23 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 7 Paul Derscheid 2025-09-25 16:30:48 UTC
Nice work everyone!

Pushed to 25.05.x