From https://www.drupal.org/node/2841067#comment-11865277:
Given that our query() is doing IS or IS NOT NULL, I'm not entirely sure the "is equal" or "is not equal" operators are valid. We might, instead, consider removing the operators option entirely. I still remain inept at Drupal 8, but there does appear to be a $no_operator tweak for filter values...
See https://api.drupal.org/api/drupal/core%21modules%21views%21src%21Plugin%...
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2860521-3.flag_.disable-operators-in-Flag-views-filter.patch | 1.15 KB | joachim |
Comments
Comment #2
joachim commentedComment #3
joachim commentedJust a workaround for now, as the BooleanOperator::$no_operator property doesn't actually work as documented unfortunately.
Comment #4
gg24 commentedI am able to reproduce this issue. Tested after applying the patch. It removes "is equal or is not equal" from the filter and works as expected.
Patch works as intended. Issuing RTBC.
Thanks!
Comment #6
joachim commentedThanks for the review! Committed.
Comment #7
gg24 commented@joachim Seems you missed providing me credit.
Actually i am new to the crediting system, so just wanted to know if the reviewer should get the credit for reviewing the patch for any issue?
Thanks!
Comment #8
joachim commentedThere's been discussion about giving credit to reviewers, but I can't see anything on https://www.drupal.org/node/52287 about it being part of the standard yet.