Skip to content
Snippets Groups Projects
Commit fc4f7f82 authored by Nick Kindrachuk's avatar Nick Kindrachuk Committed by Daniel Cothran
Browse files

Issue #3462164 by nkind, andileco, jackfoust, nikathone: Fix stripos error...

Issue #3462164 by nkind, andileco, jackfoust, nikathone: Fix stripos error when using Contains filter
parent ab8e8eaa
No related branches found
No related tags found
1 merge request!9fix stripos error on contains filter
Pipeline #304171 passed with warnings
......@@ -226,6 +226,9 @@ class ViewsCsvFilter extends FilterPluginBase {
$selected_column = $this->options['key'];
$info = $this->operators();
if (!empty($info[$this->operator]['method'])) {
if (is_array($this->value)) {
$this->value = $this->value[0];
}
$this->{$info[$this->operator]['method']}($selected_column);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment