Case insensitive remote user search

This commit is contained in:
Mouse Reeve
2021-04-08 09:59:21 -07:00
parent 33c97e38a9
commit 0de1b8d0c3
3 changed files with 5 additions and 2 deletions

View File

@ -34,7 +34,7 @@ class Search(View):
if query and re.match(regex.full_username, query):
handle_remote_webfinger(query)
# do a user search
# do a user search
user_results = (
models.User.viewer_aware_objects(request.user)
.annotate(