forked from MarseyWorld/MarseyWorld
master
parent
abd53ef4b9
commit
3385d082b1
|
@ -38,7 +38,9 @@ def searchlisting(criteria, v=None, page=1, t="None", sort="top", b=None):
|
|||
Submission.submission_aux,
|
||||
).join(
|
||||
Submission.author
|
||||
).filter_by(private=false)
|
||||
)
|
||||
|
||||
if not (v and v.admin_level == 6): posts = posts.filter_by(private=false)
|
||||
|
||||
if 'q' in criteria:
|
||||
words=criteria['q'].split()
|
||||
|
|
Loading…
Reference in New Issue