Bug 24275: Apply anti-the to title column in inventory table

To test:
1 - Go to Tools->Inventory
2 - Click submit (or add options to get a subset of titles)
3 - Try sorting by title, note that titles with leading articles sort including the articles
4 - Apply patch
5 - Reload the page
6 - Note that leading articles are ignored for sorting

Signed-off-by: Deb <dstephen@dubuque.lib.ia.us>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Nick Clemens 2019-12-19 13:19:11 +00:00 committed by Martin Renvoize
parent 43c8ca958f
commit e6a6f4237e
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 2 additions and 1 deletions

View File

@ -181,7 +181,7 @@
<th>Barcode</th>
<th>Call number</th>
<th>Library</th>
<th>Title</th>
<th class="anti-the">Title</th>
<th>Not for loan</th>
<th>Lost</th>
<th>Damaged</th>
@ -305,6 +305,7 @@
[% ELSE %]
// first column contains checkboxes
"aoColumnDefs": [
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] },
{ "bSortable": false, "bSearchable": false, "aTargets": [ 0 ] },
],
// 3rd column is callnumber