|
Lines 76-82
Link Here
|
| 76 |
</div> |
76 |
</div> |
| 77 |
|
77 |
|
| 78 |
<div id="info" class="dialog message" style="display: none;"></div> |
78 |
<div id="info" class="dialog message" style="display: none;"></div> |
| 79 |
<div id="error" class="dialog alert" style="dispay: none;"></div> |
79 |
<div id="error" class="dialog alert" style="display: none;"></div> |
| 80 |
|
80 |
|
| 81 |
<input type="hidden" id="firstletter_filter" value="" /> |
81 |
<input type="hidden" id="firstletter_filter" value="" /> |
| 82 |
<div id="searchresults" style="display:none;"> |
82 |
<div id="searchresults" style="display:none;"> |
|
Lines 171-177
Link Here
|
| 171 |
[% SET search_fields = Koha.Preference('DefaultPatronSearchFields') || 'surname,firstname,othernames,cardnumber,userid' %] |
171 |
[% SET search_fields = Koha.Preference('DefaultPatronSearchFields') || 'surname,firstname,othernames,cardnumber,userid' %] |
| 172 |
return [ |
172 |
return [ |
| 173 |
[% FOR search_field IN search_fields.split(',') %] |
173 |
[% FOR search_field IN search_fields.split(',') %] |
| 174 |
{"me.[% search_field %]":{"like":"%"+filter+"%"}}, |
174 |
{"me.[% search_field | html %]":{"like":"%"+filter+"%"}}, |
| 175 |
[% END %] |
175 |
[% END %] |
| 176 |
[% IF Koha.Preference('ExtendedPatronAttributes') %] |
176 |
[% IF Koha.Preference('ExtendedPatronAttributes') %] |
| 177 |
{ |
177 |
{ |
|
Lines 293-299
Link Here
|
| 293 |
[% UNLESS loop.last %],[% END %] |
293 |
[% UNLESS loop.last %],[% END %] |
| 294 |
[% END %] |
294 |
[% END %] |
| 295 |
], |
295 |
], |
| 296 |
"order": [[ [% order_column_index %], "asc" ]], |
296 |
"order": [[ [% order_column_index | html %], "asc" ]], |
| 297 |
'bAutoWidth': false, |
297 |
'bAutoWidth': false, |
| 298 |
'sPaginationType': 'full_numbers', |
298 |
'sPaginationType': 'full_numbers', |
| 299 |
"iDisplayLength": [% Koha.Preference('PatronsPerPage') | html %], |
299 |
"iDisplayLength": [% Koha.Preference('PatronsPerPage') | html %], |
| 300 |
- |
|
|