Is there a flaw in DataList#setDataQuery(), or am I just not understanding something basic?
Please see
http://www.sspaste.com/paste/show/51841b7484e04
Shouldn't DataList#setDataQuery() also update the query's queriedColumns? Because it doesn't changing the DataList's DataQuery fails to update the query returned by DataQuery#getFinalisedQuery(), so it ends up having no effect.
Or to put this another way, shouldn't there be a way to get the queried columns (which is a private member), so that you can add columns to the list?
I'm working with the 3.1 branch.
Thanks!