Found in testing that this appears to work well for Elasticsearch -
so removing everything that made this Zebra only.
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
yes: Show
no: "Don't show"
- results per page dropdown on staff client search results.
- - "Note: This does not work if ElasticSearch is activated."
-
- pref: OPACnumSearchResultsDropdown
type: boolean
yes: Show
no: "Don't show"
- results per page dropdown on OPAC search results.
- - "Note: This does not work if ElasticSearch is activated."
-
- By default, sort search results in the staff client by
- pref: defaultSortField
</ul>
</div> <!-- /.btn-group -->
- [% IF Koha.Preference('numSearchResultsDropdown') && Koha.Preference('SearchEngine') == "Zebra" %]
+ [% IF Koha.Preference('numSearchResultsDropdown') %]
<div class="btn-group">
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Results per page: [% results_per_page | html %] <span class="caret"></span>
<div class="sort_by pull-right">
<select id="sort_by" class="resort" name="sort_by"> [% INCLUDE 'resort_form.inc' %] </select>
- [% IF Koha.Preference('OPACnumSearchResultsDropdown') && Koha.Preference('SearchEngine') == "Zebra" %]
+ [% IF Koha.Preference('OPACnumSearchResultsDropdown') %]
<label for="results_per_page">Results per page: </label>
<select id="results_per_page" name="count">
[% IF Koha.Preference('OPACnumSearchResults') %]