@@ -, +, @@ discharges table - Table information and filtering have been added. - The "Allow" link has been converted to a Bootstrap-styled buttong with an icon. - Confirm that date sorting is correct. - Confirm that other columns still sort correctly. - Confirm that buttons look right. - Confirm that the table information is correct. - Confirm that the table search form works. --- .../intranet-tmpl/prog/en/modules/members/discharges.tt | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt @@ -1,4 +1,5 @@ [% USE Branches %] +[% USE KohaDates %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › Pending discharge requests @@ -23,6 +24,7 @@ Patron Library + Date requested Allow @@ -31,7 +33,8 @@ [% d.borrower.surname %], [% d.borrower.firstname %] [% d.borrower.branchcode.branchname %] - Allow + [% d.needed | $KohaDates %] + Allow [% END %] @@ -54,11 +57,12 @@ $(document).ready(function() { $('#pending_updates table').DataTable($.extend(true, {}, dataTablesDefaults, { paging: false, - info: false, - searching: false, - order: [], + info: true, + searching: true, + order: [[2, "asc"]], columnDefs: [ { targets: -1, orderable: false }, + { "sType": "title-string", "aTargets" : [ "title-string" ] } ], })); }); --