View | Details | Raw Unified | Return to bug 11703
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js (-3 / +6 lines)
Lines 199-212 $(document).ready(function() { Link Here
199
            { "mDataProp": "branchname" },
199
            { "mDataProp": "branchname" },
200
            { "mDataProp": "itemcallnumber" },
200
            { "mDataProp": "itemcallnumber" },
201
            {
201
            {
202
                "bSortable": false,
203
                "mDataProp": function ( oObj ) {
202
                "mDataProp": function ( oObj ) {
204
                    if ( ! oObj.charge ) oObj.charge = 0;
203
                    if ( ! oObj.charge ) oObj.charge = 0;
205
                    return parseFloat(oObj.charge).toFixed(2);
204
                    return parseFloat(oObj.charge).toFixed(2);
206
                }
205
                }
207
            },
206
            },
208
            {
207
            {
209
                "bSortable": false,
210
                "mDataProp": "price" },
208
                "mDataProp": "price" },
211
            {
209
            {
212
                "bSortable": false,
210
                "bSortable": false,
Lines 346-351 $(document).ready(function() { Link Here
346
                "aaSorting": [],
344
                "aaSorting": [],
347
                "aoColumns": [
345
                "aoColumns": [
348
                    {
346
                    {
347
                        "mDataProp": "date_due",
348
                        "bVisible": false,
349
                    },
350
                    {
351
                        "iDataSort": 1, // Sort on hidden unformatted date due column
349
                        "mDataProp": function( oObj ) {
352
                        "mDataProp": function( oObj ) {
350
                            var today = new Date();
353
                            var today = new Date();
351
                            var due = new Date( oObj.date_due );
354
                            var due = new Date( oObj.date_due );
Lines 410-416 $(document).ready(function() { Link Here
410
                ],
413
                ],
411
                "bPaginate": false,
414
                "bPaginate": false,
412
                "bProcessing": true,
415
                "bProcessing": true,
413
                "bServerSide": true,
416
                "bServerSide": false,
414
                "sAjaxSource": '/cgi-bin/koha/svc/checkouts.pl',
417
                "sAjaxSource": '/cgi-bin/koha/svc/checkouts.pl',
415
                "fnServerData": function ( sSource, aoData, fnCallback ) {
418
                "fnServerData": function ( sSource, aoData, fnCallback ) {
416
                    $.each(relatives_borrowernumbers, function( index, value ) {
419
                    $.each(relatives_borrowernumbers, function( index, value ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/js/holds.js (-2 / +1 lines)
Lines 108-114 $(document).ready(function() { Link Here
108
                ],
108
                ],
109
                "bPaginate": false,
109
                "bPaginate": false,
110
                "bProcessing": true,
110
                "bProcessing": true,
111
                "bServerSide": true,
111
                "bServerSide": false,
112
                "sAjaxSource": '/cgi-bin/koha/svc/holds.pl',
112
                "sAjaxSource": '/cgi-bin/koha/svc/holds.pl',
113
                "fnServerData": function ( sSource, aoData, fnCallback ) {
113
                "fnServerData": function ( sSource, aoData, fnCallback ) {
114
                    aoData.push( { "name": "borrowernumber", "value": borrowernumber } );
114
                    aoData.push( { "name": "borrowernumber", "value": borrowernumber } );
115
- 

Return to bug 11703