Bug 39083

Summary: Fix title sorting on list of tagged titles
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 26553    
Bug Blocks:    
Attachments: Bug 39083: Fix title sorting on list of tagged titles

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