Bug 40111 - Fix title sorting on two reports
Summary: Fix title sorting on two reports
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-10 15:47 UTC by Owen Leonard
Modified: 2025-06-11 13:05 UTC (History)
1 user (show)

See Also:
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 40111: Fix title sorting on two reports (2.24 KB, patch)
2025-06-10 15:56 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 40111: Fix title sorting on two reports (2.39 KB, patch)
2025-06-11 13:05 UTC, PTFS Europe Sandboxes
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2025-06-10 15:47:58 UTC
Two reports output titles but don't use the DataTable "anti-the" option for sorting titles while excluding articles: Items lost and orders by fund.
Comment 1 Owen Leonard 2025-06-10 15:56:28 UTC
Created attachment 183140 [details] [review]
Bug 40111: Fix title sorting on two reports

This patch modifies two reports in order to correct sorting on title
columns.

To test, apply the patch and got to reports -> Lost items.

- Run the report with parameters that will return multiple results.
  - Test sorting the title column. The articles 'a', 'an', and 'the'
    should be ignored.
- Perform the same test with the "Orders by fund" report.

Sponsored-by: Athens County Public Libraries
Comment 2 PTFS Europe Sandboxes 2025-06-11 13:05:24 UTC
Created attachment 183160 [details] [review]
Bug 40111: Fix title sorting on two reports

This patch modifies two reports in order to correct sorting on title
columns.

To test, apply the patch and got to reports -> Lost items.

- Run the report with parameters that will return multiple results.
  - Test sorting the title column. The articles 'a', 'an', and 'the'
    should be ignored.
- Perform the same test with the "Orders by fund" report.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Anneli Österman <anneli.osterman@koha-suomi.fi>