Lines 78-88
Link Here
|
78 |
$(document).ready(function(){ |
78 |
$(document).ready(function(){ |
79 |
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] |
79 |
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] |
80 |
if ( $("#findborrower").length ) { |
80 |
if ( $("#findborrower").length ) { |
81 |
patron_autocomplete($("#findborrower"), { 'link-to': 'circ' }); |
81 |
patron_autocomplete($("#findborrower"), { 'link-to': 'circ' },'[%Koha.Preference('PatronAutocompleteSearchMethod') | html %]'); |
82 |
} |
82 |
} |
83 |
[% END %] |
83 |
[% END %] |
84 |
if ( $("#searchmember").length ) { |
84 |
if ( $("#searchmember").length ) { |
85 |
patron_autocomplete($("#searchmember"), { 'link-to': 'patron' }); |
85 |
patron_autocomplete($("#searchmember"), { 'link-to': 'patron' },'[%Koha.Preference('PatronAutocompleteSearchMethod') | html %]'); |
86 |
} |
86 |
} |
87 |
}); |
87 |
}); |
88 |
</script> |
88 |
</script> |