From f00341a40145d5a36c763ee99d7b71f1a45edcb6 Mon Sep 17 00:00:00 2001 From: ClaudiuCeia Date: Tue, 24 Jul 2018 11:49:36 +0300 Subject: [PATCH] fix(blog) faceting distinct --- .../smart-city/resources/views/partials/content-single.blade.php | 1 + 1 file changed, 1 insertion(+) diff --git a/site/web/app/themes/smart-city/resources/views/partials/content-single.blade.php b/site/web/app/themes/smart-city/resources/views/partials/content-single.blade.php index a06112c..d06e2ca 100644 --- a/site/web/app/themes/smart-city/resources/views/partials/content-single.blade.php +++ b/site/web/app/themes/smart-city/resources/views/partials/content-single.blade.php @@ -98,6 +98,7 @@ class="col-lg col-6 align-middle"> ); var helper = algoliasearchHelper(client, algolia.indices.posts_post.name, { disjunctiveFacets: ['category'], + facetingAfterDistinct: true, filters: 'locale:"' + current_locale + '"', });