Bug 13618: (follow-up) Add html filters to all the variables
JS block has been re-added to the top whereas it was moved to the bottom! Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
1981db25ce
commit
f59b846134
1 changed files with 0 additions and 30 deletions
|
@ -7,36 +7,6 @@
|
|||
<title>Koha › Acquisitions › [% IF ( order_loop ) %]Orders search › Search results[% ELSE %]Order search[% END %]</title>
|
||||
[% Asset.css("css/datatables.css") | $raw %]
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% INCLUDE 'calendar.inc' %]
|
||||
[% INCLUDE 'datatables.inc' %]
|
||||
[% INCLUDE 'columns_settings.inc' %]
|
||||
|
||||
<script type="text/javascript" src="[% interface | html %]/js/autocomplete/patrons.js"></script>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
var MSG_REMOVE_PATRON = _("Remove");
|
||||
$(document).ready(function() {
|
||||
var columns_settings = [% ColumnsSettings.GetColumns( 'acqui', 'histsearch', 'histsearcht', 'json' ) | $raw %];
|
||||
KohaTable("#histsearcht", {
|
||||
"aoColumnDefs": [
|
||||
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] },
|
||||
{ "sType": "title-string", "aTargets" : [ "title-string" ] }
|
||||
],
|
||||
"sPaginationType": "four_button"
|
||||
}, columns_settings );
|
||||
|
||||
[% UNLESS order_loop %]
|
||||
patron_autocomplete({
|
||||
patron_container: $("#basket_creators"),
|
||||
input_autocomplete: $("#find_patron"),
|
||||
patron_input_name: 'created_by',
|
||||
field_to_retrieve: 'borrowernumber'
|
||||
});
|
||||
[% END %]
|
||||
});
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body id="acq_histsearch" class="acq">
|
||||
|
|
Loading…
Reference in a new issue