Lines 46-52
Link Here
|
46 |
<div class="row"> |
46 |
<div class="row"> |
47 |
<div class="col-sm-10 col-sm-push-2"> |
47 |
<div class="col-sm-10 col-sm-push-2"> |
48 |
<main> |
48 |
<main> |
49 |
|
49 |
|
50 |
<h1>Search results</h1> |
50 |
<h1>Search results</h1> |
51 |
|
51 |
|
52 |
[% IF ( outer_sup_results_loop ) %] |
52 |
[% IF ( outer_sup_results_loop ) %] |
Lines 71-76
Link Here
|
71 |
<h3> |
71 |
<h3> |
72 |
[% total | html %] result(s) found [% IF ( query_desc ) %]for <span class="results_query_desc">'[% query_desc | html %]'</span>[% END %][% IF limit_desc %] with limit(s): <span class="results_limit_desc">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %]. |
72 |
[% total | html %] result(s) found [% IF ( query_desc ) %]for <span class="results_query_desc">'[% query_desc | html %]'</span>[% END %][% IF limit_desc %] with limit(s): <span class="results_limit_desc">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %]. |
73 |
</h3> |
73 |
</h3> |
|
|
74 |
|
75 |
[% UNLESS scan %] |
74 |
<a href="/cgi-bin/koha/catalogue/search.pl?advsearch=1&edit_search=1&[% query_cgi | $raw %]&[% limit_cgi | $raw %]&sort_by=[% sort_by | $raw %]">Edit this search</a> |
76 |
<a href="/cgi-bin/koha/catalogue/search.pl?advsearch=1&edit_search=1&[% query_cgi | $raw %]&[% limit_cgi | $raw %]&sort_by=[% sort_by | $raw %]">Edit this search</a> |
75 |
[% IF ( Koha.Preference('SavedSearchFilters') && CAN_user_parameters_manage_search_filters ) %] |
77 |
[% IF ( Koha.Preference('SavedSearchFilters') && CAN_user_parameters_manage_search_filters ) %] |
76 |
| <a href="#" id="save_search_filter">Save search as filter</a> |
78 |
| <a href="#" id="save_search_filter">Save search as filter</a> |
Lines 331-336
Link Here
|
331 |
|
333 |
|
332 |
</div> <!-- /#selection_ops --> |
334 |
</div> <!-- /#selection_ops --> |
333 |
</div> <!-- /#searchheader --> |
335 |
</div> <!-- /#searchheader --> |
|
|
336 |
[% END %] |
334 |
|
337 |
|
335 |
[% ELSE # /IF total %] |
338 |
[% ELSE # /IF total %] |
336 |
<form method="post" name="fz3950" class="fz3950bigrpad"> |
339 |
<form method="post" name="fz3950" class="fz3950bigrpad"> |
Lines 365-416
Link Here
|
365 |
<!-- Search Results Table --> |
368 |
<!-- Search Results Table --> |
366 |
[% IF ( total ) %] |
369 |
[% IF ( total ) %] |
367 |
[% IF ( scan ) %] |
370 |
[% IF ( scan ) %] |
368 |
<h1>Scan index:</h1> |
371 |
<h2>Scan index</h2> |
369 |
<form action="/cgi-bin/koha/catalogue/search.pl" method="get"> |
372 |
<form action="/cgi-bin/koha/catalogue/search.pl" method="get"> |
370 |
<table> |
373 |
[% IF ( scan_search_term_to_use ) %] |
371 |
<tr> |
374 |
Scan index for: <input type="text" name="q" id="scan-index-term" size="35" value="[% scan_search_term_to_use | html %]" /> |
372 |
<td> |
375 |
[% ELSE %] |
373 |
[% IF ( scan_search_term_to_use ) %] |
376 |
Scan index for: <input type="text" name="q" id="scan-index-term" size="35" value="" /> |
374 |
Scan index for: <input type="text" name="q" id="scan-index" size="35" value="[% scan_search_term_to_use | html %]" /> |
377 |
[% END %] |
375 |
[% ELSE %] |
378 |
<label for="scan-index">Indexed in: </label> |
376 |
Scan index for: <input type="text" name="q" id="scan-index" size="35" value="" /> |
379 |
<select name="idx" id="scan-index"> |
377 |
[% END %] |
380 |
[% IF ( header_pulldown == "" ) %]<option selected="selected" value="">Any word</option> |
378 |
</td> |
381 |
[% ELSE %]<option selected="selected" value="">Any word</option[% END %] |
379 |
</tr> |
382 |
[% IF ( header_pulldown == "ms_anycommaphr" ) %]<option selected="selected" value="any,phr">Any phrase</option> |
380 |
<tr> |
383 |
[% ELSE %]<option value="any,phr">Any phrase</option>[% END %] |
381 |
<td> |
384 |
[% IF ( header_pulldown == "ms_ti" ) %]<option selected="selected" value="ti">Title</option> |
382 |
<label for="scan-index">Indexed in: </label> |
385 |
[% ELSE %]<option value="ti">Title</option>[% END %] |
383 |
<select name="idx" id="scan-index"> |
386 |
[% IF ( header_pulldown == "ms_ticommaphr" ) %]<option selected="selected" value="ti,phr">Title phrase</option> |
384 |
[% IF ( header_pulldown == "" ) %]<option selected="selected" value="">Any word</option |
387 |
[% ELSE %]<option value="ti,phr">Title phrase</option>[% END %] |
385 |
[% ELSE %]<option selected="selected" value="">Any word</option[% END %] |
388 |
[% IF ( header_pulldown == ( "ms_au" || "ms_aucommaphr" ) ) %]<option selected="selected" value="au,phr">Author</option> |
386 |
[% IF ( header_pulldown == "ms_anycommaphr" ) %]<option selected="selected" value="any,phr">Any phrase</option> |
389 |
[% ELSE %]<option value="au,phr">Author</option>[% END %] |
387 |
[% ELSE %]<option value="any,phr">Any phrase</option>[% END %] |
390 |
[% IF ( header_pulldown == "ms_su" ) %]<option selected="selected" value="su">Subject</option> |
388 |
[% IF ( header_pulldown == "ms_ti" ) %]<option selected="selected" value="ti">Title</option> |
391 |
[% ELSE %]<option value="su">Subject</option>[% END %] |
389 |
[% ELSE %]<option value="ti">Title</option>[% END %] |
392 |
[% IF ( header_pulldown == "ms_sucommaphr" ) %]<option selected="selected" value="su,phr">Subject phrase</option> |
390 |
[% IF ( header_pulldown == "ms_ticommaphr" ) %]<option selected="selected" value="ti,phr">Title phrase</option> |
393 |
[% ELSE %]<option value="su,phr">Subject phrase</option>[% END %] |
391 |
[% ELSE %]<option value="ti,phr">Title phrase</option>[% END %] |
394 |
[% IF ( header_pulldown == "ms_se" ) %]<option selected="selected" value="se">Series</option> |
392 |
[% IF ( header_pulldown == ( "ms_au" || "ms_aucommaphr" ) ) %]<option selected="selected" value="au,phr">Author</option> |
395 |
[% ELSE %]<option value="se">Series</option>[% END %] |
393 |
[% ELSE %]<option value="au,phr">Author</option>[% END %] |
396 |
[% IF ( header_pulldown == "ms_pb" ) %]<option selected="selected" value="pb">Publisher</option> |
394 |
[% IF ( header_pulldown == "ms_su" ) %]<option selected="selected" value="su">Subject</option> |
397 |
[% ELSE %]<option value="pb">Publisher</option>[% END %] |
395 |
[% ELSE %]<option value="su">Subject</option>[% END %] |
398 |
[% IF ( header_pulldown == "ms_nt" ) %]<option selected="selected" value="nt">Notes</option> |
396 |
[% IF ( header_pulldown == "ms_sucommaphr" ) %]<option selected="selected" value="su,phr">Subject phrase</option> |
399 |
[% ELSE %]<option value="nt">Notes</option>[% END %] |
397 |
[% ELSE %]<option value="su,phr">Subject phrase</option>[% END %] |
400 |
[% IF ( header_pulldown == "ms_sn" ) %]<option selected="selected" value="sn">ISBN</option> |
398 |
[% IF ( header_pulldown == "ms_se" ) %]<option selected="selected" value="se">Series</option> |
401 |
[% ELSE %]<option value="sn">ISBN</option>[% END %] |
399 |
[% ELSE %]<option value="se">Series</option>[% END %] |
402 |
[% IF ( header_pulldown == "ms_ss" ) %]<option selected="selected" value="ss">ISSN</option> |
400 |
[% IF ( header_pulldown == "ms_pb" ) %]<option selected="selected" value="pb">Publisher</option> |
403 |
[% ELSE %]<option value="ss">ISSN</option>[% END %] |
401 |
[% ELSE %]<option value="pb">Publisher</option>[% END %] |
404 |
</select> |
402 |
[% IF ( header_pulldown == "ms_nt" ) %]<option selected="selected" value="nt">Notes</option> |
405 |
<input type="hidden" name="scan" value="1" /> |
403 |
[% ELSE %]<option value="nt">Notes</option>[% END %] |
406 |
<input class="submit" type="submit" value="Submit" /> |
404 |
[% IF ( header_pulldown == "ms_sn" ) %]<option selected="selected" value="sn">ISBN</option> |
|
|
405 |
[% ELSE %]<option value="sn">ISBN</option>[% END %] |
406 |
[% IF ( header_pulldown == "ms_ss" ) %]<option selected="selected" value="ss">ISSN</option> |
407 |
[% ELSE %]<option value="ss">ISSN</option>[% END %] |
408 |
</select> |
409 |
<input type="hidden" name="scan" value="1" /> |
410 |
<input class="submit" type="submit" value="Submit" /> |
411 |
</td> |
412 |
</tr> |
413 |
</table> |
414 |
</form> |
407 |
</form> |
415 |
|
408 |
|
416 |
<form action="/cgi-bin/koha/catalogue/search.pl" method="get"> |
409 |
<form action="/cgi-bin/koha/catalogue/search.pl" method="get"> |
417 |
- |
|
|