Bugzilla – Attachment 37395 Details for
Bug 13069
Enable sort by title to ignore articles on circulation and patron detail pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13069 - Enable sort by title to ignore articles on circulation and patron detail pages
Bug-13069---Enable-sort-by-title-to-ignore-article.patch (text/plain), 2.03 KB, created by
Mark Tompsett
on 2015-03-31 03:04:30 UTC
(
hide
)
Description:
Bug 13069 - Enable sort by title to ignore articles on circulation and patron detail pages
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2015-03-31 03:04:30 UTC
Size:
2.03 KB
patch
obsolete
>From 5b731cb8b4a2fbd86ead58a01c43d4e311948c3f Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 9 Oct 2014 15:22:29 +0000 >Subject: [PATCH] Bug 13069 - Enable sort by title to ignore articles on > circulation and patron detail pages > >With the conversion of the circulation and patron detail checkout >summary tables to AJAX recently we lost the ability to sort by title >while ignoring articles. > >This patch corrects the problem by adding the "anti-the" configuration >to the relevant column in the DataTables initializtion script. > >To test, apply the patch and clear your cache if necessary. Check out to >a patron who has multiple checkouts, some of which have titles beginning >with "a," "an," and "the." Sorting those checkouts by title should >ignore articles. > >Test the patron detail page for that patron as well. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> > >NOTE: This is the one early in the javascript file. > This is the one visible by having multiple checkouts > where the title excluding the articles is a different > order than titles including the articles. > Patrons -> Details (scroll down to check out area, view > checkouts and toggle the title sort) > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js >index e8f6f44..5e9ff9e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js >@@ -259,7 +259,8 @@ $(document).ready(function() { > + onsite_checkout; > > return title; >- } >+ }, >+ "sType": "anti-the" > }, > { "mDataProp": "itemtype_description" }, > { "mDataProp": "issuedate_formatted" }, >-- >1.9.1
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 13069
:
32183
|
32237
|
32238
|
37395
|
37396
|
37479
|
37480