Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #1
bagnouf CreditAttribution: bagnouf commented+1, I'm interested too in the solution.
I tried PHP global, doesn't seem to work...
Comment #2
oadaeh CreditAttribution: oadaeh commentedWell, 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.
Comment #3
Balbo CreditAttribution: Balbo commentedInterested too.
Should token can be used in filters? (Like in the fields area of the view configuration)
Comment #4
MustangGB CreditAttribution: MustangGB commented