Bugzilla – Attachment 44296 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.57 KB, created by
Marc Véron
on 2015-11-02 20:36:45 UTC
(
hide
)
Description:
Bug 15109 - Regression in patron search results ordering
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-11-02 20:36:45 UTC
Size:
1.57 KB
patch
obsolete
>From 8b12e29dc417967bd1761c59d3a8ee5556e53d8b Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 2 Nov 2015 11:46:32 -0500 >Subject: [PATCH] Bug 15109 - Regression in patron search results ordering >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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 > >Followed test plan. Worked as expecting (after a browser reload). >Signed-off-by: Marc Véron <veron@veron.ch> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 1 + > 1 file changed, 1 insertion(+) > >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..cede308 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -148,6 +148,7 @@ $(document).ready(function() { > dtMemberResults = KohaTable("#memberresultst", { > 'bServerSide': true, > 'sAjaxSource': "/cgi-bin/koha/svc/members/search", >+ 'order': [[ 2, 'asc' ]], > 'fnServerData': function(sSource, aoData, fnCallback) { > if ( ! search ) { > return; >-- >1.7.10.4
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