Answer the question
In order to leave comments, you need to log in
Is CActiveDataProvider + CListView + FROM (select) possible?
Good afternoon. I have a query like:
SELECT * FROM (SELECT `t`.* FROM `table` `t` JOIN table2 t2 ON t2.id = t.column_id WHERE t2.column2_id = 1) as t1 GROUP BY `t1`.`id`
Answer the question
In order to leave comments, you need to log in
The question is closed. Rewrote the query and use CActiveDataProvider
Try to pass the result of the query to CArrayDataProvider and display it in CListView.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question