From 4ffd79b2f3c6471c730497b892235661e6391e64 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Fri, 3 May 2013 15:35:44 +0100 Subject: [PATCH] Bug 10184 - Circulation History reverses sort order Issue data is passed to the readingrec template ordered most recent due date first. Datatables unless specified otherwise do a presort on the data they will display the default results in an order the reverse of what was intended. Disabling the presort preserves the initial sort order until the user selects a different sort Signed-off-by: Owen Leonard Signed-off-by: Chris Cormack Signed-off-by: Galen Charlton (cherry picked from commit 3285261d0150113e597d48a5a78aee5fdc1ebd94) Signed-off-by: Tomas Cohen Arazi (cherry picked from commit cfdf4759dc0fe857b3dfb2fcab2868e117c5e6ff) Signed-off-by: Bernardo Gonzalez Kriegel (cherry picked from commit cfdf4759dc0fe857b3dfb2fcab2868e117c5e6ff) --- koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt | 1 + 1 file changed, 1 insertion(+) 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 b7c5f53ac2..e062feff88 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt @@ -10,6 +10,7 @@ $(document).ready(function() { $("#table_readingrec").dataTable($.extend(true, {}, dataTablesDefaults, { "sPaginationType": "four_button", + "aaSorting": [] })); }); }); -- 2.39.5