Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
better_exposed_filters
Commits
61c755aa
Commit
61c755aa
authored
Sep 13, 2020
by
NesleeCanilPinto
Committed by
Neslee
Sep 13, 2020
Browse files
Issue #2927856 by kevin.dutra, Neslee Canil Pinto: String filters don't receive BEF treatment
parent
ab357e02
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Plugin/better_exposed_filters/filter/FilterWidgetBase.php
View file @
61c755aa
...
...
@@ -31,7 +31,7 @@ abstract class FilterWidgetBase extends BetterExposedFiltersWidgetBase implement
}
// Check various filter types and determine what options are available.
if
(
is_a
(
$filter
,
'Drupal\views\Plugin\views\filter\String'
)
||
is_a
(
$filter
,
'Drupal\views\Plugin\views\filter\InOperator'
))
{
if
(
is_a
(
$filter
,
'Drupal\views\Plugin\views\filter\String
Filter
'
)
||
is_a
(
$filter
,
'Drupal\views\Plugin\views\filter\InOperator'
))
{
if
(
in_array
(
$filter
->
operator
,
[
'in'
,
'or'
,
'and'
,
'not'
]))
{
$is_applicable
=
TRUE
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment