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.
Parentheses were placed wrong, causing bad calls to db_rewrite_sql().
For the second case, I could be wrong on this, but it's not documented that you can call db_rewrite_sql on the node_revisions table. I joined the node table just to be safe.
Comment | File | Size | Author |
---|---|---|---|
views.rewrite.patch | 1.28 KB | mfb | |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted! THanks for the patch!
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.