update control logs
This commit is contained in:
@@ -39,7 +39,8 @@ class CaptureLogsController extends Controller {
|
||||
$this->view->title = "Capture Log";
|
||||
$searchModel = new CaptureLogsSearch();
|
||||
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
|
||||
$dataProvider->query->andWhere(["BETWEEN", "time", $f, $t]);
|
||||
$dataProvider->query->andWhere(["capture_logs.staff_id" => 0]);
|
||||
$dataProvider->query->andWhere(["BETWEEN", "capture_logs.time", $f, $t]);
|
||||
$dataProvider->query->orderBy(["time" => SORT_DESC]);
|
||||
|
||||
return $this->render('index', [
|
||||
|
||||
Reference in New Issue
Block a user