Bug 40702 - Inventory CSV export missing "title" header
Summary: Inventory CSV export missing "title" header
Status: Pushed to oldstable
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: David Cook
QA Contact: Jonathan Druart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-26 07:06 UTC by David Cook
Modified: 2025-10-16 06:11 UTC (History)
3 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
25.11.00,25.05.04,24.11.10
Circulation function:


Attachments
Bug 40702: Add missing "Title" header in Inventory csv export (1.19 KB, patch)
2025-08-26 07:08 UTC, David Cook
Details | Diff | Splinter Review
Bug 40702: Add missing "Title" header in Inventory csv export (1.23 KB, patch)
2025-09-04 15:48 UTC, Noah Tremblay
Details | Diff | Splinter Review
Bug 40702: Add missing "Title" header in Inventory csv export (1.31 KB, patch)
2025-09-15 14:23 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 40702: Add missing "Title" header in Inventory csv export (1.32 KB, patch)
2025-09-15 14:49 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 8 Fridolin Somers 2025-10-16 06:11:39 UTC
Pushed to 24.11.x for 24.11.10