The query function inside the views_plugin_query_default class passes the query object ($this) instead of the actual View object. Patch coming...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mjpa created an issue. See original summary.

mjpa’s picture

joelpittet’s picture

Status: Needs review » Reviewed & tested by the community

Thanks @mjpa. Just ran into this as well. The docs say it will receive a view object not a views_plugin_query_default object.

DamienMcKenna’s picture

Committed. Thanks.

DamienMcKenna’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.