Revision #14 was created by Kartik V on May 18, 2014, 10:47:35 AM.
Comments corrected
Content
[...]
];
}
/**
* setup search function for filtering and sorting
* based on `fullName` and `orderAmount` field
*/
public function search($params) {
$query = Customer::find();
$subQuery = Order::find()
->select('customer_id, SUM(amount) as order_amount')