Flaw in DataList#setDataQuery()?

18 views
Skip to first unread message

Fred Condo

unread,
May 3, 2013, 4:23:32 PM5/3/13
to silverst...@googlegroups.com
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!

Reply all
Reply to author
Forward
0 new messages