From 20b933e88a17403724794db8c0273d7f8b4b20e5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 2 Sep 2021 00:50:15 +0200 Subject: [PATCH] fd --- files/routes/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/search.py b/files/routes/search.py index 14c8dd367..734eb3658 100644 --- a/files/routes/search.py +++ b/files/routes/search.py @@ -40,7 +40,7 @@ def searchlisting(criteria, v=None, page=1, t="None", sort="top", b=None): Submission.author ) - if not (v and v.admin_level == 6): posts = posts.filter(Submission.private == false) + if not (v and v.admin_level == 6): posts = posts.filter(Submission.private == False) if 'q' in criteria: words=criteria['q'].split()