Bugzilla – Attachment 96890 Details for
Bug 24275
Inventory table should be sortable by title without leading articles (allow for title sort with anti-the)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24275: Apply anti-the to title column in inventory table
Bug-24275-Apply-anti-the-to-title-column-in-invent.patch (text/plain), 1.62 KB, created by
Nick Clemens (kidclamp)
on 2020-01-07 13:06:03 UTC
(
hide
)
Description:
Bug 24275: Apply anti-the to title column in inventory table
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-01-07 13:06:03 UTC
Size:
1.62 KB
patch
obsolete
>From 1febcfdf5ae0cf4f51f6d710f89ffdd9555cf2ee Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 19 Dec 2019 13:19:11 +0000 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >index 7739c83527..18379a1c86 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >@@ -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 >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24275
:
96485
|
96890
|
97338