Ajustes antes de produccion
This commit is contained in:
+19
-1
@@ -5,7 +5,7 @@
|
||||
endif
|
||||
%}
|
||||
|
||||
<section class="search-page full-width">
|
||||
<section class="search-page full-width" data-collection>
|
||||
<div class="search-page__body">
|
||||
<h1 class="search-page__title">{{ search_heading | escape }}</h1>
|
||||
|
||||
@@ -31,6 +31,24 @@
|
||||
<p class="search-page__empty">{{ 'search.no_results_html' | t: terms: search_heading }}</p>
|
||||
{% else %}
|
||||
<p class="search-page__count">{{ 'search.results_for_html' | t: terms: search_heading, count: search.results_count }}</p>
|
||||
{%- liquid
|
||||
assign search_sort = search.sort_by | default: search.default_sort_by
|
||||
assign search_clear = routes.search_url | append: '?q=' | append: search.terms
|
||||
assign search_type = ''
|
||||
if search.types.size == 1
|
||||
assign search_type = search.types | first
|
||||
endif
|
||||
-%}
|
||||
{% render 'facets-toolbar',
|
||||
filters: search.filters,
|
||||
sort_options: search.sort_options,
|
||||
current_sort: search_sort,
|
||||
action_url: routes.search_url,
|
||||
clear_url: search_clear,
|
||||
count_label: '',
|
||||
results_type: search_type,
|
||||
terms: search.terms
|
||||
%}
|
||||
|
||||
{% paginate search.results by 9 %}
|
||||
<div class="search-page__grid">
|
||||
|
||||
Reference in New Issue
Block a user