Lines 46-56
Link Here
|
46 |
[% END %] |
46 |
[% END %] |
47 |
|
47 |
|
48 |
<div id="searchresults"> |
48 |
<div id="searchresults"> |
49 |
<div id="searchheader"> |
49 |
<h3>Patrons found for: <span id="searchpattern">[% IF searchmember %] for '[% searchmember | html %]'[% END %]</span></h3> |
50 |
<h3>Patrons found for: <span id="searchpattern">[% IF searchmember %] for '[% searchmember | html %]'[% END %]</span></h3> |
|
|
51 |
</div> |
52 |
[% IF CAN_user_tools_manage_patron_lists || CAN_user_borrowers_edit_borrowers %] |
50 |
[% IF CAN_user_tools_manage_patron_lists || CAN_user_borrowers_edit_borrowers %] |
53 |
<div id="searchheader"> |
51 |
<div class="searchheader" id="searchheader"> |
54 |
<div> |
52 |
<div> |
55 |
<a href="#" id="select_all"><i class="fa fa-check"></i> Select all</a> |
53 |
<a href="#" id="select_all"><i class="fa fa-check"></i> Select all</a> |
56 |
| |
54 |
| |
Lines 194-199
Link Here
|
194 |
[% INCLUDE 'datatables.inc' %] |
192 |
[% INCLUDE 'datatables.inc' %] |
195 |
[% INCLUDE 'columns_settings.inc' %] |
193 |
[% INCLUDE 'columns_settings.inc' %] |
196 |
[% INCLUDE 'str/members-menu.inc' %] |
194 |
[% INCLUDE 'str/members-menu.inc' %] |
|
|
195 |
[% Asset.js("lib/hc-sticky.js") | $raw %] |
197 |
[% Asset.js("js/members-menu.js") | $raw %] |
196 |
[% Asset.js("js/members-menu.js") | $raw %] |
198 |
<script> |
197 |
<script> |
199 |
$(document).ready(function() { |
198 |
$(document).ready(function() { |
Lines 312-317
Link Here
|
312 |
clearFilters(true); |
311 |
clearFilters(true); |
313 |
}); |
312 |
}); |
314 |
$("#searchform").on("submit", filter); |
313 |
$("#searchform").on("submit", filter); |
|
|
314 |
|
315 |
}); |
315 |
}); |
316 |
|
316 |
|
317 |
var dtMemberResults; |
317 |
var dtMemberResults; |
Lines 452-457
Link Here
|
452 |
'sPaginationType': 'full_numbers', |
452 |
'sPaginationType': 'full_numbers', |
453 |
"iDisplayLength": [% PatronsPerPage | html %], |
453 |
"iDisplayLength": [% PatronsPerPage | html %], |
454 |
"bProcessing": true, |
454 |
"bProcessing": true, |
|
|
455 |
"initComplete": function(settings, json) { |
456 |
Sticky = $("#searchheader"); |
457 |
Sticky.hcSticky({ |
458 |
stickTo: "#searchresults", |
459 |
stickyClass: "floating" |
460 |
}); |
461 |
} |
455 |
}, columns_settings); |
462 |
}, columns_settings); |
456 |
update_searched(); |
463 |
update_searched(); |
457 |
}); |
464 |
}); |