mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 01:23:48 +01:00
Fix case-insensitive comparison bug
This commit is contained in:
parent
3e07bed51b
commit
144ae69f5c
@ -70,7 +70,7 @@ def list_all():
|
||||
.filter(or_(*[func.lower(User.username) == name.lower().strip() for name in search.split(" ")])) \
|
||||
.all()
|
||||
|
||||
authors = [(author.username, search.lower().replace(author.username, "")) for author in authors]
|
||||
authors = [(author.username, search.lower().replace(author.username.lower(), "")) for author in authors]
|
||||
|
||||
topics = None
|
||||
if qb.search and not query.has_next:
|
||||
|
Loading…
Reference in New Issue
Block a user