mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-03 01:55:27 +00:00
implement search method
This commit is contained in:
parent
5365290ffd
commit
3649f21b52
1 changed files with 21 additions and 0 deletions
|
|
@ -50,4 +50,25 @@ class History
|
||||||
0
|
0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function search(
|
||||||
|
?string $filter = null
|
||||||
|
): void
|
||||||
|
{
|
||||||
|
$this->navbar->filter->setValue(
|
||||||
|
trim(
|
||||||
|
strval(
|
||||||
|
$filter
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->content->search(
|
||||||
|
trim(
|
||||||
|
strval(
|
||||||
|
$filter
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue