Lines 1-24
Link Here
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Circulation › Holds awaiting pickup</title> |
2 |
<title>Koha › Circulation › Holds awaiting pickup</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
4 |
<link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" /> |
5 |
<script type="text/javascript" language="JavaScript"> |
5 |
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
|
|
6 |
[% INCLUDE 'datatables-strings.inc' %] |
7 |
<script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script> |
8 |
<script type="text/javascript"> |
6 |
//<![CDATA[ |
9 |
//<![CDATA[ |
7 |
$.tablesorter.addParser({ |
10 |
[% IF (dateformat == 'metric') %] |
8 |
id: 'articles', |
11 |
dt_add_type_uk_date(); |
9 |
is: function(s) {return false; }, |
12 |
[% END %] |
10 |
format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, |
|
|
11 |
type: 'text' |
12 |
}); |
13 |
$(document).ready(function() { |
13 |
$(document).ready(function() { |
14 |
$('#resultlist').tabs(); |
14 |
$('#resultlist').tabs(); |
15 |
$("th a").hide(); |
15 |
$("th a").hide(); |
16 |
$.tablesorter.defaults.widgets = ['zebra']; |
16 |
$("#holdst,#holdso").dataTable($.extend(true, {}, dataTablesDefaults, { |
17 |
$("#holdst,#holdso").tablesorter({[% IF ( dateformat == 'metric' ) %] |
17 |
"aoColumnDefs": [ |
18 |
dateFormat: 'uk',[% END %] |
18 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
19 |
sortList: [[3,0]], |
19 |
], |
20 |
headers: { 1:{sorter:'articles'},3: { sorter: 'articles' },4:{sorter:false}} |
20 |
"aLengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]], |
21 |
}); |
21 |
"iDisplayLength": 20, |
|
|
22 |
"sPaginationType": "four_button" |
23 |
})); |
22 |
}); |
24 |
}); |
23 |
//]]> |
25 |
//]]> |
24 |
</script> |
26 |
</script> |
25 |
- |
|
|