mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-21 21:17:23 +00:00
make needs rename not show up in unmoderated names
This commit is contained in:
parent
e44872e523
commit
b8bd7c6cba
@ -260,7 +260,7 @@ def get(status):
|
||||
if status == "approved":
|
||||
query = db.session.query().select_from(CharacterInfo).join(Account).filter((CharacterInfo.pending_name == "") & (CharacterInfo.needs_rename == False))
|
||||
elif status == "unapproved":
|
||||
query = db.session.query().select_from(CharacterInfo).join(Account).filter((CharacterInfo.pending_name != "") | (CharacterInfo.needs_rename == True))
|
||||
query = db.session.query().select_from(CharacterInfo).join(Account).filter((CharacterInfo.pending_name != "") & (CharacterInfo.needs_rename == False))
|
||||
else:
|
||||
query = db.session.query().select_from(CharacterInfo).join(Account)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user