diff --git a/app/blueprints/todo/__init__.py b/app/blueprints/todo/__init__.py index 58ccb24a..7ef79a22 100644 --- a/app/blueprints/todo/__init__.py +++ b/app/blueprints/todo/__init__.py @@ -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,