Bug 39083 - Fix title sorting on list of tagged titles
Summary: Fix title sorting on list of tagged titles
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 26553
Blocks:
  Show dependency treegraph
 
Reported: 2025-02-10 19:30 UTC by Owen Leonard
Modified: 2025-02-10 19:40 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 39083: Fix title sorting on list of tagged titles (1.41 KB, patch)
2025-02-10 19:40 UTC, Owen Leonard
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-02-10 19:30:51 UTC
In the staff interface under Tools -> Tags, when you click a term you can see a list of the titles with that tag. Titles on that page should ignore articles when sorting.
Comment 1 Owen Leonard 2025-02-10 19:40:07 UTC
Created attachment 177710 [details] [review]
Bug 39083: Fix title sorting on list of tagged titles

This patch adds the "anti-the" class to the title column on the tagged
titles page. This allows DataTables to ignore articles when sorting.

To test you should add the same tag to multiple titles.

In the staff interface, go to Tools -> Tags, and click a term which has
been added to multiple titles.

In the list of titles, test title sorting. Articles like "a", "an", and
"the" should be ignored when sorting.

Sponsored-by: Athens County Public Libraries