Lines 31-36
Link Here
|
31 |
[%# - search_type: select 'contains' or 'starts with' %] |
31 |
[%# - search_type: select 'contains' or 'starts with' %] |
32 |
[%- searchtype = searchtype || Koha.Preference('DefaultPatronSearchMethod') -%] |
32 |
[%- searchtype = searchtype || Koha.Preference('DefaultPatronSearchMethod') -%] |
33 |
[% BLOCK patron_search_filters %] |
33 |
[% BLOCK patron_search_filters %] |
|
|
34 |
[% SET has_patron_search_filters_block = 1 %] |
34 |
<aside> |
35 |
<aside> |
35 |
<form method="get" class="patron_search_form"> |
36 |
<form method="get" class="patron_search_form"> |
36 |
<fieldset class="brief"> |
37 |
<fieldset class="brief"> |
Lines 406-419
Link Here
|
406 |
return filters; |
407 |
return filters; |
407 |
} |
408 |
} |
408 |
}; |
409 |
}; |
409 |
let external_filter_nodes = { |
410 |
let external_filter_nodes = {}; |
410 |
search_patron_filter: '.search_patron_filter', |
411 |
[% IF has_patron_search_filters_block %] |
411 |
firstletter_filter: '.firstletter_filter', |
412 |
external_filter_nodes = { |
412 |
searchtype_filter: '.searchtype_filter', |
413 |
search_patron_filter: '.search_patron_filter', |
413 |
searchfieldstype_filter: '.searchfieldstype_filter', |
414 |
firstletter_filter: '.firstletter_filter', |
414 |
categorycode_filter: '.categorycode_filter', |
415 |
searchtype_filter: '.searchtype_filter', |
415 |
branchcode_filter: '.branchcode_filter' |
416 |
searchfieldstype_filter: '.searchfieldstype_filter', |
416 |
}; |
417 |
categorycode_filter: '.categorycode_filter', |
|
|
418 |
branchcode_filter: '.branchcode_filter' |
419 |
}; |
420 |
[% END %] |
417 |
|
421 |
|
418 |
[% UNLESS default_sort_column %] |
422 |
[% UNLESS default_sort_column %] |
419 |
[% default_sort_column = "name" %] |
423 |
[% default_sort_column = "name" %] |
420 |
- |
|
|