Search and filter set default filter..

This commit is contained in:
Cüneyt Şentürk
2021-06-01 14:43:27 +03:00
parent 2794ddc257
commit b29ea1bba5
3 changed files with 151 additions and 91 deletions

View File

@ -12,6 +12,8 @@ class SearchString extends Component
public $filters;
public $filtered;
/** string */
public $model;
@ -20,10 +22,11 @@ class SearchString extends Component
*
* @return void
*/
public function __construct(string $model = '', $filters = false)
public function __construct(string $model = '', $filters = false, $filtered = false)
{
$this->model = $model;
$this->filters = $filters;
$this->filtered = $filtered;
}
/**