Fix broken query condition in user todo
This commit is contained in:
@@ -168,7 +168,7 @@ def view_user(username=None):
|
||||
.all()
|
||||
|
||||
needs_tags = user.maintained_packages \
|
||||
.filter(Package.state != PackageState.APPROVED) \
|
||||
.filter(Package.state != PackageState.DELETED) \
|
||||
.filter_by(tags=None).order_by(db.asc(Package.title)).all()
|
||||
|
||||
return render_template("todo/user.html", current_tab="user", user=user,
|
||||
|
||||
Reference in New Issue
Block a user