//<![CDATA[
var MSG_ADD_MESSAGE = _("Add a new message");
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
-[% IF ( UseTablesortForCirc && dateformat == 'metric' ) %]dt_add_type_uk_date();[% END %]
[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %]
[% UNLESS ( borrowernumber ) %][% UNLESS ( CGIselectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
$(document).ready(function() {
"sDom": 't',
"aaSorting": [],
"aoColumnDefs": [
- { "aTargets": [ -1, -2[% IF ( exports_enabled ) %], -3[% END %] ], "bSortable": false, "bSearchable": false }
- ],
- "aoColumns": [
- { "sType": "title-string" },{ "sType": "anti-the" },null,{ "sType": "title-string" },null,null,null,null,null,null[% IF ( exports_enabled ) %],null[% END %]
+ { "aTargets": [ -1, -2[% IF ( exports_enabled ) %], -3[% END %] ], "bSortable": false, "bSearchable": false },
+ { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
+ { "sType": "title-string", "aTargets" : [ "title-string" ] }
],
"bPaginate": false
}));
$("#relissuest").dataTable($.extend(true, {}, dataTablesDefaults, {
"sDom": 't',
"aaSorting": [],
- "aoColumns": [
- { "sType": "title-string" },{ "sType": "anti-the" },null,{ "sType": "title-string" },null,null,null,null,{ "sType": "html" }
+ "aoColumnDefs": [
+ { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
+ { "sType": "title-string", "aTargets" : [ "title-string" ] },
+ { "sType": "html", "aTargets" : [ "html-content" ] }
],
"bPaginate": false
}));
<input type="hidden" name="branch" value="[% branch %]" />
<table id="issuest">
<thead><tr>
- <th scope="col">Due date</th>
- <th scope="col">Title</th>
+ <th scope="col" class="title-string">Due date</th>
+ <th scope="col" class="anti-the">Title</th>
<th scope="col">Item type</th>
- <th scope="col">Checked out on</th>
+ <th scope="col" class="title-string">Checked out on</th>
<th scope="col">Checked out from</th>
<th scope="col">Call no</th>
<th scope="col">Charge</th>
<table id="relissuest">
<thead>
<tr>
- <th scope="col">Due date</th>
- <th scope="col">Title</th>
+ <th scope="col" class="title-string">Due date</th>
+ <th scope="col" class="anti-the">Title</th>
<th scope="col">Item type</th>
- <th scope="col">Checked out on</th>
+ <th scope="col" class="title-string">Checked out on</th>
<th scope="col">Checked out from</th>
<th scope="col">Call no</th>
<th scope="col">Charge</th>
<th scope="col">Price</th>
- <th scope="col">Patron</th>
+ <th scope="col" class="html-content">Patron</th>
</tr>
</thead>
[% IF ( relissues ) %] <tbody>
[% INCLUDE 'datatables.inc' %]
<script type="text/javascript">
//<![CDATA[
-[% IF (dateformat == 'metric') %]
-dt_add_type_uk_date();
-[% END %]
$(document).ready(function() {
[% FOREACH branchesloo IN branchesloop %]
$("#transferst[% branchesloo.branchcode %]").dataTable($.extend(true, {}, dataTablesDefaults, {
"aoColumnDefs": [
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
- ],
- "aoColumns": [
- { "sType": "title-string" },{ "sType": "anti-the" },null,null,null,null
+ { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
+ { "sType": "title-string", "aTargets" : [ "title-string" ] }
],
"sDom": 't',
"bPaginate": false
<table style="width: 100%" id="transferst[% branchesloo.branchcode %]">
<caption>Coming from [% branchesloo.branchname %]</caption>
<thead><tr>
- <th>Date of transfer</th>
- <th>Title</th>
+ <th class="title-string">Date of transfer</th>
+ <th class="anti-the">Title</th>
<th>On hold for</th>
<th>Home library</th>
<th>Call no.</th>
[% INCLUDE 'datatables.inc' %]
<script type="text/javascript">
//<![CDATA[
-[% IF (dateformat == 'metric') %]
-dt_add_type_uk_date();
-[% END %]
$(document).ready(function() {
$('#resultlist').tabs();
$("th a").hide();
$("#holdst,#holdso").dataTable($.extend(true, {}, dataTablesDefaults, {
"aoColumnDefs": [
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
- ],
- "aoColumns": [
- { "sType": "title-string" },{ "sType": "anti-the" },null,null,null,null,null
+ { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
+ { "sType": "title-string", "aTargets" : [ "title-string" ] }
],
"sPaginationType": "four_button"
}));
[% IF ( reserveloop ) %]
<table id="holdst">
<thead><tr>
- <th>Available since</th>
- <th>Title</th>
+ <th class="title-string">Available since</th>
+ <th class="anti-the">Title</th>
<th>Patron</th>
<th>Location</th>
<th>Copy number</th>
<br/>
<table id="holdso">
<thead><tr>
- <th>Available since</th>
- <th>Title</th>
+ <th class="title-string">Available since</th>
+ <th class="anti-the">Title</th>
<th>Patron</th>
<th>Location</th>
<th>Copy number</th>