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.
I believe the filter handler in the 6.x version used to provide an "SQL filter code" box where you could use PHP to "Return a valid SQL WHERE clause."
This doesn't seem to be present in the 7.x version and I can't find any alternative modules that provide a similar feature.
Comment | File | Size | Author |
---|---|---|---|
#1 | views_php-sql-filter-2028537-0.patch | 2.69 KB | morbiD |
Comments
Comment #1
morbiD CreditAttribution: morbiD commentedCopied the relevant code from the 6.x-1.x branch to the 7.x-2.x branch and it seems to work fine. Patch attached.
Patch should also apply to 7.x-1.x without any problems.