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
!282
Fix PHPStan issues reported on CI/gitlab
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Fix PHPStan issues reported on CI/gitlab
issue/facets-3502957:3502957-fix-phpstan
into
3.0.x
Overview
0
Commits
13
Pipelines
1
Changes
20
Open
Hervé Donner
requested to merge
issue/facets-3502957:3502957-fix-phpstan
into
3.0.x
3 months ago
Overview
0
Commits
13
Pipelines
1
Changes
20
Expand
Closes
#3502957
0
0
Merge request reports
Compare
3.0.x
3.0.x (HEAD)
and
latest version
latest version
3c7f4af6
13 commits,
3 months ago
20 files
+
126
−
154
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
20
Search (e.g. *.vue) (Ctrl+P)
modules/facets_summary/src/Form/FacetsSummarySettingsForm.php
+
1
−
1
Options
@@ -249,7 +249,7 @@ class FacetsSummarySettingsForm extends EntityForm {
// Ensure that the caching of the view display is disabled, so the search
// correctly returns the facets.
$facet_source
=
$this
->
facetSourcePluginManager
->
createInstance
(
$facet_source_id
,
[
'facet'
=>
$this
->
getEntity
()]);
if
(
isset
(
$facet_source
)
&&
$facet_source
instanceof
SearchApiFacetSourceInterface
)
{
if
(
$facet_source
instanceof
SearchApiFacetSourceInterface
)
{
$view
=
$facet_source
->
getViewsDisplay
();
if
(
$view
!==
NULL
)
{
$view
->
display_handler
->
overrideOption
(
'cache'
,
[
'type'
=>
'none'
]);
Loading