Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
don
Commits
1a2f4c2a
Commit
1a2f4c2a
authored
Oct 13, 2018
by
Guinness
Committed by
Okhin
Nov 12, 2018
Browse files
Also match on user id
parent
16e3be0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/LQDN/Finder/UserFinder.php
View file @
1a2f4c2a
...
...
@@ -40,7 +40,7 @@ class UserFinder
$params
=
[];
if
(
''
!==
$text
)
{
$query
.
=
" AND (pseudo LIKE :text OR email LIKE :text)"
;
$query
.
=
" AND (pseudo LIKE :text OR email LIKE
:text OR id LIKE
:text)"
;
$params
[
'text'
]
=
"%
$text
%"
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment