Lines 139-145
$(document).ready(function() {
Link Here
|
139 |
} |
139 |
} |
140 |
} |
140 |
} |
141 |
}, |
141 |
}, |
|
|
142 |
{ |
143 |
"mDataProp": "date_due", |
144 |
"bVisible": false, |
145 |
}, |
142 |
{ |
146 |
{ |
|
|
147 |
"iDataSort": 1, // Sort on hidden unformatted date due column |
143 |
"mDataProp": function( oObj ) { |
148 |
"mDataProp": function( oObj ) { |
144 |
var today = new Date(); |
149 |
var today = new Date(); |
145 |
var due = new Date( oObj.date_due ); |
150 |
var due = new Date( oObj.date_due ); |
Lines 283-289
$(document).ready(function() {
Link Here
|
283 |
}, |
288 |
}, |
284 |
"bPaginate": false, |
289 |
"bPaginate": false, |
285 |
"bProcessing": true, |
290 |
"bProcessing": true, |
286 |
"bServerSide": true, |
291 |
"bServerSide": false, |
287 |
"sAjaxSource": '/cgi-bin/koha/svc/checkouts.pl', |
292 |
"sAjaxSource": '/cgi-bin/koha/svc/checkouts.pl', |
288 |
"fnServerData": function ( sSource, aoData, fnCallback ) { |
293 |
"fnServerData": function ( sSource, aoData, fnCallback ) { |
289 |
aoData.push( { "name": "borrowernumber", "value": borrowernumber } ); |
294 |
aoData.push( { "name": "borrowernumber", "value": borrowernumber } ); |