[Patches] [PATCH] [SIGNED-OFF] Bug 7349: corrects sort order for Patron search

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Wed Dec 21 03:11:36 NZDT 2011


From: Adrien Saurat <adrien.saurat at biblibre.com>
Date: Tue, 13 Dec 2011 16:01:45 +0100
Subject: [PATCH] [SIGNED-OFF] Bug 7349: corrects sort order for Patron search
Content-Type: text/plain; charset="utf-8"

Sorting by cardnumber now works (removed a client-side
sort, the server-side sort is enough).

Signed-off-by: Koustubha Kale <kmkale at anantcorp.com>

1) Verified that before applying this patch, when searching patrons with cardnumber as order by preference, patrons are sorted ny name.
2) Verified that after applying this patch, when searching with cardnumber as order by preference, patrons are correctly sorted by cardnumber.
---
 .../prog/en/modules/members/member.tt              |   10 ----------
 1 files changed, 0 insertions(+), 10 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 4bff548..f625220 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt
@@ -99,14 +99,4 @@
 
     </div>
 </div>
-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
-<script type="text/javascript">//<![CDATA[
-$(document).ready(function() {
-	$("#memberresultst").tablesorter({
-		sortList: [[1,0]],
-		widgets:	['zebra']
-	});
-});
-//]]>
-</script>
 [% INCLUDE 'intranet-bottom.inc' %]
-- 
1.7.5.4


More information about the Patches mailing list