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>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit b94f53291c)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Owen Leonard 2025-05-15 18:13:38 +00:00 committed by Paul Derscheid
parent 7aca5cfa90
commit bd43f8df50
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@
[% IF csv_profiles.count %]
<th class="no-sort"></th>
[% END %]
<th>Title</th>
<th class="anti-the">Title</th>
<th>Author</th>
<th>Lost status</th>
<th>Lost on</th>

View File

@ -58,7 +58,7 @@
<th>Basket</th>
<th>Basket name</th>
<th>Basket by</th>
<th>Title</th>
<th class="anti-the">Title</th>
<th>Currency</th>
<th>List price</th>
<th>RRP</th>