bug_7647: Table sorter on issue history

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Srdjan 2012-03-29 13:38:16 +13:00 committed by Paul Poulain
parent 0808da6de2
commit df98c8aaaa
1 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,18 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Catalog &rsaquo; Checkout history for [% title |html %]</title>
[% INCLUDE 'doc-head-close.inc' %]
<link rel="stylesheet" href="[% themelang %]/css/datatables.css" />
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
[% INCLUDE 'datatables-strings.inc' %]
<script type="text/javascript" id="js">
$(document).ready(function() {
$("#table_issues").dataTable($.extend(true, {}, dataTablesDefaults, {
// maybe some defaults?
})
);
}); </script>
</head>
<body id="catalog_issuehistory" class="catalog">
@ -21,7 +33,7 @@
<div class="searchresults">
[% IF ( issues ) %]
<h4>Checked out [% total %] times</h4>
<table>
<table id="table_issues">
<thead><tr>
<th>Patron</th>
<th>Barcode</th>