@@ -, +, @@ of returned borrowers --- .../prog/en/modules/circ/circulation.tt | 41 ++++------------------ 1 file changed, 7 insertions(+), 34 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -103,21 +103,10 @@ $(document).ready(function() { }); var table = $("#table_borrowers").dataTable($.extend(true, {}, dataTablesDefaults, { - "aoColumnDefs": [ - { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, - ], - "aaSorting": [ 2, "asc" ], + "aaSorting": [ 1, "asc" ], "sDom": "t", "iDisplayLength": -1 })); - $(table).find('tbody tr').filter(':has(:radio:checked)').end().click(function(event) { - $('#table_borrowers tbody tr').removeClass('selected'); - $(this).addClass('selected'); - if (event.target.type !== 'radio') { - $(':radio', this).attr('checked', 'true') - } - }); - }); //]]> @@ -135,7 +124,7 @@ $(document).ready(function() { Checkouts [% END %] -[% IF ( $borrowers ) %] +[% IF ( borrowers || message ) %]