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%...

Comments

joachim created an issue. See original summary.

joachim’s picture

Issue summary: View changes
joachim’s picture

Just a workaround for now, as the BooleanOperator::$no_operator property doesn't actually work as documented unfortunately.

gg24’s picture

Status: Needs review » Reviewed & tested by the community

I 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!

  • joachim committed fa68ede on 8.x-4.x
    Issue #2860521 by joachim: Changed Flag Views filter to have the...
joachim’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the review! Committed.

gg24’s picture

@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!

joachim’s picture

There'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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.