Data object should be for the result of the query, not the query itself. That should be stored in context. That way it is available to all hooks in the chain. Should do this with other hooks as well, slowly moving over the initial hook call to use the context parameter rather than the data one.
This patch allows both methods for backwards compatibility.
Data object should be for the result of the query, not the query itself. That should be stored in context. That way it is available to all hooks in the chain. Should do this with other hooks as well, slowly moving over the initial hook call to use the context parameter rather than the data one.
This patch allows both methods for backwards compatibility.