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.
The query
function inside the views_plugin_query_default
class passes the query object ($this
) instead of the actual View object. Patch coming...
Comment | File | Size | Author |
---|---|---|---|
#2 | views-wrong-invoke-of-query-substitutions-2609312-1.patch | 1013 bytes | mjpa |
Comments
Comment #2
mjpa CreditAttribution: mjpa commentedThe patch!
Comment #3
joelpittetThanks @mjpa. Just ran into this as well. The docs say it will receive a
view
object not aviews_plugin_query_default
object.Comment #5
DamienMcKennaCommitted. Thanks.
Comment #6
DamienMcKenna