fix findByDate in ReportSearchForm
This commit is contained in:
parent
354c6fd497
commit
18ca568485
@ -70,6 +70,7 @@ class ReportSearchForm extends Model
|
||||
{
|
||||
return Reports::find()
|
||||
->where(['between', 'reports.created_at', $this->fromDate, $this->toDate])
|
||||
->andWhere(['user_card_id' => $this->user_id])
|
||||
->all();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user