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

Comments

mjpa created an issue. See original summary.

mjpa’s picture

Status: Active » Needs review
StatusFileSize
new1013 bytes

The patch!

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.