Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-6339: As an Editor I'd like use facets to filter global search results #871

Merged
merged 3 commits into from
Sep 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed issues reported by QA
  • Loading branch information
adamwojs authored and Bogdan Mazur committed Sep 14, 2023
commit 5e908c59d5b736385e0bd0bd14c0d9987294dd6a
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</select>
{{ form_widget(form.content_types, {
'attr': {'class': 'ibexa-filters__select'},
'terms': aggregations.get('content_types')
'terms': aggregations.has('content_types') ? aggregations.get('content_types') : null
}) }}
</div>
<div class="ibexa-filters__item ibexa-filters__item--modified">
Expand Down Expand Up @@ -69,7 +69,7 @@
<label class="ibexa-label">{{ 'search.section'|trans|desc('Section') }}</label>
{{ form_widget(form.section, {
'attr': {'class': 'ibexa-filters__select'},
'terms': aggregations.get('sections')
'terms': aggregations.has('sections') ? aggregations.get('sections') : null
}) }}
</div>
{% endif %}
Expand Down