Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
facets
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
facets
Merge requests
!274
3499673 fixes error
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
3499673 fixes error
issue/facets-3499673:3499673-facetexposedfilters-ai-conflict
into
3.0.x
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
wouters_f
requested to merge
issue/facets-3499673:3499673-facetexposedfilters-ai-conflict
into
3.0.x
4 months ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
Closes
#3499673
0
0
Merge request reports
Compare
3.0.x
3.0.x (base)
and
latest version
latest version
39257de7
1 commit,
4 months ago
1 file
+
1
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
modules/facets_exposed_filters/facets_exposed_filters.module
+
1
−
1
Options
@@ -40,7 +40,7 @@ function facets_exposed_filters_views_data_alter(array &$data) {
@@ -40,7 +40,7 @@ function facets_exposed_filters_views_data_alter(array &$data) {
*/
*/
function
facets_exposed_filters_search_api_query_alter
(
QueryInterface
$query
)
{
function
facets_exposed_filters_search_api_query_alter
(
QueryInterface
$query
)
{
$view
=
$query
->
getOption
(
'search_api_view'
);
$view
=
$query
->
getOption
(
'search_api_view'
);
if
(
!
$view
||
(
!
$view
->
exposed_widgets
&&
!
$view
->
display_handler
->
getOption
(
'exposed_block'
)))
{
if
(
!
$view
||
(
!
$view
->
exposed_widgets
&&
isset
(
$view
->
display_handler
)
&&
!
$view
->
display_handler
->
getOption
(
'exposed_block'
)))
{
return
;
return
;
}
}
Loading