@@ -, +, @@ - Clear your browser cache and switch to the English templates. - Check out some items to a patron who has checkouts from a previous day. - Confirm that the sorting of the "today's checkouts" and "previous checkouts" row groups is correct. - Switch to the new/updated translation and reload the circulation page for that patron. Confirm that the sort remains correct. - Confirm that the checkouts table looks correct and that other features (sorting, checkboxes) still work correctly. --- koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js | 12 +++++++++++- .../prog/en/modules/circ/circulation.tt | 1 + 2 files changed, 12 insertions(+), 1 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js +++ a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js @@ -138,6 +138,15 @@ $(document).ready(function() { { "mDataProp": function( oObj ) { if ( oObj.issued_today ) { + return "0"; + } else { + return "100"; + } + } + }, + { + "mDataProp": function( oObj ) { + if ( oObj.issued_today ) { return "" + TODAYS_CHECKOUTS + ""; } else { return "" + PREVIOUS_CHECKOUTS + ""; @@ -329,8 +338,9 @@ $(document).ready(function() { }, }).rowGrouping( { + iGroupingColumnIndex: 1, iGroupingOrderByColumnIndex: 0, - sGroupingColumnSortDirection: "desc" + sGroupingColumnSortDirection: "asc" } ); --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -688,6 +688,7 @@ No patron matched [% message %]   +   Due date Due date Title --