Bugzilla – Attachment 5891 Details for
Bug 7019
Circulation History Sort Order Wrong
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Fix for Bug 7019 - Circulation History Sort Order Wrong
SIGNED-OFF-Fix-for-Bug-7019---Circulation-History-.patch (text/plain), 1.71 KB, created by
Nicole C. Engard
on 2011-10-14 13:40:36 UTC
(
hide
)
Description:
[SIGNED-OFF] Fix for Bug 7019 - Circulation History Sort Order Wrong
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2011-10-14 13:40:36 UTC
Size:
1.71 KB
patch
obsolete
>From f5cf1725ce9b00169c05a5add880d419fbd36f91 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 13 Oct 2011 11:59:48 -0400 >Subject: [PATCH] [SIGNED-OFF] Fix for Bug 7019 - Circulation History Sort Order Wrong > >The return column sort was not using the right sort algorithm >because it was confused by the combination of date data and >text data ("Checked out"). I've added an explicit instruction >to sort by date. The downside to this change is that checked >out items are sorted with the oldest checkouts rather than >the newest: > >Checked Out >Checked Out >10/14/1988 >07/14/2005 > >Not perfect, but an improvement over completely incorrect >sorting. This patch also adds the necessary check for system >dateformat preference to properly sort metric dates. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >--- > .../prog/en/modules/members/readingrec.tt | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >index 1ab1130..0d3b76b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >@@ -11,9 +11,10 @@ > type: 'text' > }); > $.tablesorter.defaults.widgets = ['zebra']; >- $("#table_readingrec").tablesorter({ >+ $("#table_readingrec").tablesorter({[% IF ( dateformat_metric ) %] >+ dateFormat: 'uk',[% END %] > sortList: [[8,1]], >- headers: { 1: { sorter: 'articles' }} >+ headers: { 1: { sorter: 'articles' }, 9: { sorter: 'shortDate'} } > }).tablesorterPager({container: $("#pagertable_readingrec"),positionFixed: false,size: 20}); > }); </script> > </head> >-- >1.7.2.3
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 7019
:
5874
|
5877
|
5891
|
15589
|
15710
|
19549
|
19707
|
19723
|
22305