Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294952

Views NumericFilter::opRegex() adds an array in the where instead of the value.

$
0
0

Problem/Motivation

In Views at the moment when using a filter the class NumericFilter the REGEX filtering method is broken, first it can only used only after applying the patch from #2800727: Views NumericFilter regular_expression operator wrong method 'op_regex', even then if used with a Date will not work because it will pass the whole value property which is an array, so the resulting SQL query is broken.

Very easy fix attached, we need test, but some are being added in #2800727: Views NumericFilter regular_expression operator wrong method 'op_regex' so we can follow up on tests based on that.


Viewing all articles
Browse latest Browse all 294952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>