Bug 36555 - Add report_id to file name when exporting report results
Summary: Add report_id to file name when exporting report results
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Reports (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Andrew Fuerste-Henry
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-09 14:24 UTC by Andrew Fuerste-Henry
Modified: 2025-01-17 15:14 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
This patch adds the unique report id to the file name when downloading report results. Previously, the file name contained only the name of the report and could be unclear.
Version(s) released in:
24.05.00
Circulation function:


Attachments
Bug 36555: Add report_id to download file name (1.20 KB, patch)
2024-04-09 14:53 UTC, Andrew Fuerste-Henry
Details | Diff | Splinter Review
Bug 36555: Add report_id to download file name (1.26 KB, patch)
2024-04-09 16:27 UTC, ByWater Sandboxes
Details | Diff | Splinter Review
Bug 36555: Add report_id to download file name (1.27 KB, patch)
2024-05-01 10:34 UTC, Nick Clemens (kidclamp)
Details | Diff | Splinter Review
Bug 36555: (QA follow-up) Tidy (1.88 KB, patch)
2024-05-01 10:34 UTC, Nick Clemens (kidclamp)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2024-04-09 14:24:55 UTC
If one were in the habit of creating reports with fairly generic names, one might download a bunch of report results and then have trouble remembering what's what. This very relatable and not at all foolish situation could be helped by including the report ID in the file name, making it easier to find the query that produced the downloaded file.
Comment 1 Andrew Fuerste-Henry 2024-04-09 14:53:05 UTC
Created attachment 164564 [details] [review]
Bug 36555: Add report_id to download file name

To test:
- apply patch, restart all
- run a report
- export results
- confirm file name is the report ID, followed by report name
Comment 2 ByWater Sandboxes 2024-04-09 16:27:52 UTC
Created attachment 164565 [details] [review]
Bug 36555: Add report_id to download file name

To test:
- apply patch, restart all
- run a report
- export results
- confirm file name is the report ID, followed by report name

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Comment 3 Nick Clemens (kidclamp) 2024-05-01 10:34:26 UTC
Created attachment 165954 [details] [review]
Bug 36555: Add report_id to download file name

To test:
- apply patch, restart all
- run a report
- export results
- confirm file name is the report ID, followed by report name

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Comment 4 Nick Clemens (kidclamp) 2024-05-01 10:34:28 UTC
Created attachment 165955 [details] [review]
Bug 36555: (QA follow-up) Tidy

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Comment 5 Katrin Fischer 2024-05-02 11:20:03 UTC
Pushed for 24.05!

Well done everyone, thank you!
Comment 6 Fridolin Somers 2024-05-24 12:47:58 UTC
Not backported to 23.11.x
I prefer not change this automatic behavior on a stable version
Comment 7 Aude Charillon 2025-01-17 15:14:30 UTC
No need for update to Koha Manual.

Moved the text in the "Documentation submission" field to "Text to go in the release notes". It's too late for the release notes, but it makes it easier to read!