Lines 50-56
Link Here
|
50 |
You have never borrowed anything from this library. |
50 |
You have never borrowed anything from this library. |
51 |
[% ELSE %] |
51 |
[% ELSE %] |
52 |
<div id="opac-user-readingrec"> |
52 |
<div id="opac-user-readingrec"> |
53 |
<div class="resultscontrol resort"> |
53 |
|
|
|
54 |
<div class="resultscontrol resort js-hide"> |
54 |
<form id="sortform" action="/cgi-bin/koha/opac-readingrecord.pl" method="get"> |
55 |
<form id="sortform" action="/cgi-bin/koha/opac-readingrecord.pl" method="get"> |
55 |
[% UNLESS ( limit ) %]<input type="hidden" name="limit" value="full" />[% END %] |
56 |
[% UNLESS ( limit ) %]<input type="hidden" name="limit" value="full" />[% END %] |
56 |
<select name="order" id="order"> |
57 |
<select name="order" id="order"> |
Lines 74-80
Link Here
|
74 |
|
75 |
|
75 |
[% IF Koha.Preference( 'OnSiteCheckouts' ) == 1 %] |
76 |
[% IF Koha.Preference( 'OnSiteCheckouts' ) == 1 %] |
76 |
<div id="tabs" class="toptabs"> |
77 |
<div id="tabs" class="toptabs"> |
77 |
<ul> |
78 |
<ul class="js-show"> |
78 |
<li id="tab_all"><a href="#tabs-container">All</a></li> |
79 |
<li id="tab_all"><a href="#tabs-container">All</a></li> |
79 |
<li id="tab_checkout"><a href="#tabs-container">Checkouts</a></li> |
80 |
<li id="tab_checkout"><a href="#tabs-container">Checkouts</a></li> |
80 |
<li id="tab_onsite_checkout"><a href="#tabs-container">On-site checkouts</a></li> |
81 |
<li id="tab_onsite_checkout"><a href="#tabs-container">On-site checkouts</a></li> |
Lines 209-221
Link Here
|
209 |
}); |
210 |
}); |
210 |
|
211 |
|
211 |
var table = $("#readingrec").dataTable($.extend(true, {}, dataTablesDefaults, { |
212 |
var table = $("#readingrec").dataTable($.extend(true, {}, dataTablesDefaults, { |
212 |
"sPaginationType": "four_button", |
213 |
"dom": '<"top"<"table_entries"i><"table_controls"fB>>t', |
|
|
214 |
"sorting": [[ 1, "asc" ]], |
215 |
"autoWidth": false, |
216 |
|
213 |
"columnDefs": [ |
217 |
"columnDefs": [ |
214 |
{ "targets": [ "nosort" ],"sortable": false,"searchable": false }, |
218 |
{ "targets": [ "nosort" ],"sortable": false,"searchable": false }, |
215 |
{ "type": "anti-the", "targets" : [ "anti-the" ] }, |
219 |
{ "type": "anti-the", "targets" : [ "anti-the" ] }, |
216 |
{ "type": "title-string", "targets" : [ "title-string" ] } |
220 |
{ "type": "title-string", "targets" : [ "title-string" ] } |
217 |
] |
221 |
], |
|
|
222 |
"language": { |
223 |
"search": "_INPUT_", |
224 |
"searchPlaceholder": _("Search") |
225 |
} |
218 |
})); |
226 |
})); |
|
|
227 |
|
219 |
var tabs = $("#tabs").tabs({ |
228 |
var tabs = $("#tabs").tabs({ |
220 |
activate: function(e, ui) { |
229 |
activate: function(e, ui) { |
221 |
var id = $(ui.newTab).attr("id"); |
230 |
var id = $(ui.newTab).attr("id"); |
222 |
- |
|
|