Bugzilla – Attachment 44288 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.39 KB, created by
Kyle M Hall (khall)
on 2015-11-02 16:48:31 UTC
(
hide
)
Description:
Bug 15109 - Regression in patron search results ordering
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-11-02 16:48:31 UTC
Size:
1.39 KB
patch
obsolete
>From fc49467fb46fc39698f7f197992f20fec0a23413 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 > >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 >--- > .../prog/en/modules/members/member.tt | 1 + > 1 files changed, 1 insertions(+), 0 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..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.2.5
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