Bugzilla – Attachment 44829 Details for
Bug 15109
Regression in patron search results ordering
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15109 - Regression in patron search results ordering
Bug-15109---Regression-in-patron-search-results-or.patch (text/plain), 1.52 KB, created by
Jonathan Druart
on 2015-11-13 09:22:44 UTC
(
hide
)
Description:
Bug 15109 - Regression in patron search results ordering
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-11-13 09:22:44 UTC
Size:
1.52 KB
patch
obsolete
>From 303196dd0f4380fa4f2683e240dba037a813421a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 13 Nov 2015 09:17:49 +0000 >Subject: [PATCH] Bug 15109 - Regression in patron search results ordering > >In Koha 3.16 or earlier, before the introduction of the ajax datatable >for patron searching, the search results were ordered by name. In >master, the results are currently ordered by cardnumber, which is not >very useful. > >Test Plan: >1) Do a "browse by last name" or a patron search >2) Note the results are sorted by card number >3) Apply this patch >4) Reload the page, start a new search >5) Note the results are sorted by name >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >index 603920b..49971b7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -222,9 +222,9 @@ $(document).ready(function() { > 'bFilter': false, > 'bAutoWidth': false, > [% IF CAN_user_tools_manage_patron_lists %] >- 'aaSorting': [[1, 'asc']], >+ 'aaSorting': [[2, 'asc']], > [% ELSE %] >- 'aaSorting': [[0, 'asc']], >+ 'aaSorting': [[1, 'asc']], > [% END %] > "aLengthMenu": [aLengthMenu, aLengthMenuLabel], > 'sPaginationType': 'full_numbers', >-- >2.1.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 15109
:
44288
|
44296
|
44829
|
44830
|
44854
|
44855
|
44892
|
44893