The Drupal\views\Plugin\views\filter\NumericFilter::operators() exposes a regular_expression operator but with an error on the method: op_regex should be opRegex

CommentFileSizeAuthor
#8 2800727-8.patch3.07 KBAnonymous (not verified)
#5 2800727-5.patch2.65 KBAnonymous (not verified)
#5 2800727-5-only-test.patch2.08 KBAnonymous (not verified)
#2 drupal-fix_views_numeric_filter-2800727-2.patch578 bytessylvainm

Comments

SylvainM created an issue. See original summary.

sylvainm’s picture

Status: Active » Needs review
StatusFileSize
new578 bytes

Attached patch shouldn't fix it?

dawehner’s picture

Issue tags: +Needs tests

Nice catch. I fear though we need some testing for this feature, to prevent future regressions :)

esolitos’s picture

Status: Needs review » Reviewed & tested by the community

Encountered the same exact issue, I came up with the same patch, so i guess i'll just RTBC!

Anonymous’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new2.08 KB
new2.65 KB

The last submitted patch, 5: 2800727-5-only-test.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 5: 2800727-5.patch, failed testing.

Anonymous’s picture

Status: Needs work » Needs review
StatusFileSize
new3.07 KB

Oh, sorry for #5 trash. One more attempt.

alexpott’s picture

Status: Needs review » Closed (duplicate)
Related issues: +#2821112: Views NumericFilter 'regular_expression' operator is broken

I've added @SylvainM to the credit list on #2821112: Views NumericFilter 'regular_expression' operator is broken - let's close this one as a duplicate because that one seems further along.