Commit 61c755aa authored by NesleeCanilPinto's avatar NesleeCanilPinto Committed by Neslee
Browse files

Issue #2927856 by kevin.dutra, Neslee Canil Pinto: String filters don't receive BEF treatment

parent ab357e02
......@@ -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\StringFilter') || is_a($filter, 'Drupal\views\Plugin\views\filter\InOperator')) {
if (in_array($filter->operator, ['in', 'or', 'and', 'not'])) {
$is_applicable = TRUE;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment