mirror of
https://gitnet.fr/deblan/gist.git
synced 2021-08-14 08:30:49 +02:00
Title filter in account page
This commit is contained in:
parent
9dfbde6730
commit
36f4fb98ff
@ -64,6 +64,10 @@ class User extends BaseUser implements UserInterface
|
||||
$query->filterByType($options['type']);
|
||||
}
|
||||
|
||||
if (!empty($options['title'])) {
|
||||
$query->filterByTitle('%'.$options['title'].'%', Criteria::LIKE);
|
||||
}
|
||||
|
||||
if (!empty($options['cipher']) && $options['cipher'] !== 'anyway') {
|
||||
$bools = array(
|
||||
'yes' => true,
|
||||
|
Loading…
Reference in New Issue
Block a user