I would like to create a filter where I compare the value of one field with the value of another field.

For example, I would like to be able to say only show records where the value of field_a is less than or equal to the value of field_b.

Is this possible? I couldn't find anything in Views, the issue queue, or other contributed modules, but there are so many options of each, I could have missed the solution.

Comments

bagnouf’s picture

+1, I'm interested too in the solution.

I tried PHP global, doesn't seem to work...

oadaeh’s picture

Well, if the answer is the solution doesn't exist and I have to create a plugin to make it happen, I'm okay with that. I just seem to be notoriously bad at finding things that are right in front of my face. So, I wanted to make sure it didn't already exist, before I put time and effort into it.

Balbo’s picture

Interested too.
Should token can be used in filters? (Like in the fields area of the view configuration)

MustangGB’s picture

Issue summary: View changes
Status: Active » Closed (outdated)