From 95f81d5355c9b047a978d7ad67ac1b29a0338920 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 11 Mar 2014 07:16:36 -0400 Subject: [PATCH] Bug 11703 [QA Followup 11] - Prevent multiple fetchs from ajax source --- koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js | 7 ++++++- .../prog/en/modules/circ/circulation.tt | 1 + 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js index f737e61..6f4828e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js @@ -139,7 +139,12 @@ $(document).ready(function() { } } }, + { + "mDataProp": "date_due", + "bVisible": false, + }, { + "iDataSort": 1, // Sort on hidden unformatted date due column "mDataProp": function( oObj ) { var today = new Date(); var due = new Date( oObj.date_due ); @@ -283,7 +288,7 @@ $(document).ready(function() { }, "bPaginate": false, "bProcessing": true, - "bServerSide": true, + "bServerSide": false, "sAjaxSource": '/cgi-bin/koha/svc/checkouts.pl', "fnServerData": function ( sSource, aoData, fnCallback ) { aoData.push( { "name": "borrowernumber", "value": borrowernumber } ); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 7c9b1f7..a3de86c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -677,6 +677,7 @@ No patron matched [% message %]   Due date + Due date Title Item type Checked out on -- 1.7.2.5