From 31f21c700f6aef97172d016efa6a7d18a200d175 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 4 Feb 2022 11:32:18 +0200 Subject: [PATCH] dfg --- files/routes/front.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/front.py b/files/routes/front.py index 70ce31990f..6de324b959 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -386,7 +386,7 @@ def changeloglist(v=None, sort="new", page=1 ,t="all"): Submission.author_id.notin_(blocked) ) - admins = [x[0] for x in g.db.query(User.id).filter(User.admin_level > 1).all()] + admins = [x[0] for x in g.db.query(User.id).filter(User.admin_level > 0).all()] posts = posts.filter(Submission.title.ilike('_changelog%'), Submission.author_id.in_(admins)) if t != 'all':