Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
A hook will be added so that field modules can define the filter operations that can be performed on themselves.
Comments
Comment #1
JonBob CreditAttribution: JonBob commentedhook_field_filter_operators() it is.
Comment #2
KarenS CreditAttribution: KarenS commentedJonBob, I notice in your latest a code some comments about problems using greater than and less than signs in views filter operators. I ran into this earlier and found the fix for that. The views module is converting them to the html equivalents (< >) In a view where I needed those operators I just changed my handler to check for them and switch them back to greater than and less than signs before dropping the operators into a query.
Comment #3
KarenS CreditAttribution: KarenS commentedI've got to start wrapping my comments in code tags.. what I tried to say is that the views module changes operators like
Comment #4
(not verified) CreditAttribution: commented