fd
This commit is contained in:
parent
d1cc45a70a
commit
7fe2b087aa
1 changed files with 1 additions and 1 deletions
|
@ -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_by(private=false)
|
||||
if not (v and v.admin_level == 6): posts = posts.filter(Submission.private == false)
|
||||
|
||||
if 'q' in criteria:
|
||||
words=criteria['q'].split()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue