mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
Fix crash on needs tags in user todo
This commit is contained in:
parent
2db2f61992
commit
1cfc152d3b
@ -185,8 +185,8 @@ def view_user(username=None):
|
|||||||
.all()
|
.all()
|
||||||
|
|
||||||
needs_tags = user.maintained_packages \
|
needs_tags = user.maintained_packages \
|
||||||
.filter(Package.state != PackageState.DELETED) \
|
.filter(Package.state != PackageState.DELETED, Package.tags==None) \
|
||||||
.filter_by(tags=None).order_by(db.asc(Package.title)).all()
|
.order_by(db.asc(Package.title)).all()
|
||||||
|
|
||||||
return render_template("todo/user.html", current_tab="user", user=user,
|
return render_template("todo/user.html", current_tab="user", user=user,
|
||||||
unapproved_packages=unapproved_packages, outdated_packages=outdated_packages,
|
unapproved_packages=unapproved_packages, outdated_packages=outdated_packages,
|
||||||
|
Loading…
Reference in New Issue
Block a user