Skip to content

Commit

Permalink
[DOCS] Search fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akopytko committed Dec 31, 2024
1 parent ca501ca commit a4dd358
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions docs/sphinx_setup/_templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

{% block body %}
<atomic-search-interface id="search" localization-compatibility-version="v4"
fields-to-include='["ovversion", "ovcategory", "filetype", "date", "source", "author", "sourcetype", "language", "description"]'>
fields-to-include='["ovversion", "ovdoctype", "ovcategory", "filetype", "date", "source", "sourcetype", "language", "description"]'>
<atomic-search-layout>
<atomic-layout-section section="search">
<atomic-search-box>
Expand All @@ -26,11 +26,10 @@
<i class="fas fa-list"></i> List
</button>
</div>
<atomic-category-facet facet-id="ovcategory" field="ovcategory" label="Category" depends-on-ovversion
sort-criteria="occurrences" number-of-values="4" with-search="true" delimiting-character="|">
</atomic-category-facet>
<atomic-facet facet-id="ovversion" field="ovversion" label="Version" sort-criteria="occurrences">
</atomic-facet>
<atomic-facet field="ovversion" label="Versions" sort-criteria="automatic"></atomic-facet>
<atomic-facet field="ovdoctype" label="Categories" sort-criteria="occurrences" number-of-values="6" depends-on-ovversion with-search="false"></atomic-facet>
<atomic-category-facet field="ovcategory" label="Subcategories" sort-criteria="occurrences" number-of-values="6" depends-on-ovdoctype with-search="false" delimiting-character="|">
</atomic-category-facet>
</atomic-facet-manager>
</atomic-layout-section>
<atomic-layout-section section="main">
Expand Down Expand Up @@ -86,6 +85,13 @@
</atomic-layout-section>
<atomic-layout-section section="pagination">
<atomic-load-more-results></atomic-load-more-results>
<!-- <atomic-pager></atomic-pager>
<atomic-results-per-page
data-atomic-rendered="false"
data-atomic-loaded="false"
class="atomic-hidden hydrated"
choices-displayed="10,25,50,100">
</atomic-results-per-page> -->
</atomic-layout-section>
</atomic-layout-section>
</atomic-search-layout>
Expand Down

0 comments on commit a4dd358

Please sign in to comment.