intermediate commit

This commit is contained in:
iIronside
2022-01-07 15:04:11 +03:00
parent e16e72dcc1
commit d31a4757ff
32 changed files with 5163 additions and 270 deletions

View File

@ -18,7 +18,7 @@ class DocumentFieldSearch extends DocumentField
{
return [
[['id'], 'integer'],
[['title'], 'safe'],
[['title', 'field_template'], 'safe'],
];
}
@ -61,7 +61,8 @@ class DocumentFieldSearch extends DocumentField
'id' => $this->id,
]);
$query->andFilterWhere(['like', 'title', $this->title]);
$query->andFilterWhere(['like', 'title', $this->title])
->andFilterWhere(['like', 'field_template', $this->field_template]);
return $dataProvider;
}