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

(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-4 / +17 lines)
Lines 310-316 $(document).ready(function() { Link Here
310
                        return oObj.homebranch.escapeHtml();
310
                        return oObj.homebranch.escapeHtml();
311
                    }
311
                    }
312
                },
312
                },
313
                { "mDataProp": "issuedate_formatted" },
313
                {
314
                    "mDataProp": "issuedate",
315
                    "bVisible": false,
316
                },
317
                {
318
                    "iDataSort": 9, // Sort on hidden unformatted issuedate column
319
                    "mDataProp": "issuedate_formatted",
320
                },
314
                {
321
                {
315
                    "mDataProp": function ( oObj ) {
322
                    "mDataProp": function ( oObj ) {
316
                        return oObj.branchname.escapeHtml();
323
                        return oObj.branchname.escapeHtml();
Lines 562-568 $(document).ready(function() { Link Here
562
                        "bVisible": false,
569
                        "bVisible": false,
563
                    },
570
                    },
564
                    {
571
                    {
565
                        "iDataSort": 1, // Sort on hidden unformatted date due column
572
                        "iDataSort": 0, // Sort on hidden unformatted date due column
566
                        "mDataProp": function( oObj ) {
573
                        "mDataProp": function( oObj ) {
567
                            var today = new Date();
574
                            var today = new Date();
568
                            var due = new Date( oObj.date_due );
575
                            var due = new Date( oObj.date_due );
Lines 646-652 $(document).ready(function() { Link Here
646
                            return ( oObj.location ? oObj.location.escapeHtml() : '' );
653
                            return ( oObj.location ? oObj.location.escapeHtml() : '' );
647
                        }
654
                        }
648
                    },
655
                    },
649
                    { "mDataProp": "issuedate_formatted" },
656
                    {
657
                        "mDataProp": "issuedate",
658
                        "bVisible": false,
659
                    },
660
                    {
661
                        "iDataSort": 7, // Sort on hidden unformatted issuedate column
662
                        "mDataProp": "issuedate_formatted",
663
                    },
650
                    {
664
                    {
651
                        "mDataProp": function ( oObj ) {
665
                        "mDataProp": function ( oObj ) {
652
                            return oObj.branchname.escapeHtml();
666
                            return oObj.branchname.escapeHtml();
653
- 

Return to bug 21562