Commit b04b51bd by AlexGx

fix sql query

parent 174158a6
......@@ -98,7 +98,7 @@ $count = Yii::$app->db->createCommand('
', [':status' => 1])->queryScalar();
$dataProvider = new SqlDataProvider([
'sql' => 'SELECTFROM tbl_user WHERE status=:status',
'sql' => 'SELECT * FROM tbl_user WHERE status=:status',
'params' => [':status' => 1],
'totalCount' => $count,
'sort' => [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment