Commit 712df09f authored by klafyvel's avatar klafyvel

Merge branch 'search_user' into 'dev'

Permet la recherche avec telephone et email des users

See merge request federez/re2o!287
parents 6f624e9e eae05e4b
......@@ -140,7 +140,9 @@ def search_single_word(word, filters, user,
) | Q(
room__name__icontains=word
) | Q(
room__name__icontains=word
email__icontains=word
) | Q(
telephone__icontains=word
)
) & Q(state__in=user_state)
if not User.can_view_all(user)[0]:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment