Since Drupal 9 no longer has the Globals: Fields Comparison option (as Drupal 7 did) in the view's filter section, how can I compare two fields?

  • 1
    Does this help? drupal.org/project/drupal/issues/3155249
    – mona lisa
    Sep 19, 2022 at 22:23
  • That just might do the trick, thanks. I'll apply the patch and see what happens. Sep 20, 2022 at 1:24
  • As mentioned in a comment on my question, there is a patch that restores this functionality, which did the trick. Sep 20, 2022 at 18:03
  • On which question is that?
    – mona lisa
    Sep 28, 2022 at 23:17
  • The comment is on this question (the one from you). Sep 29, 2022 at 2:09

1 Answer 1


The patch here: https://www.drupal.org/project/drupal/issues/3155249 restores the field comparison functionality in views and solved my issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.