fd
This commit is contained in:
parent
ee63560b7e
commit
312ff6a472
1 changed files with 3 additions and 3 deletions
|
@ -145,9 +145,9 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='
|
||||||
Submission.author_id.notin_(blocked)
|
Submission.author_id.notin_(blocked)
|
||||||
)
|
)
|
||||||
|
|
||||||
if not (v and v.changelogsub):
|
# if not (v and v.changelogsub):
|
||||||
posts=posts.join(Submission.submission_aux)
|
# posts=posts.join(Submission.submission_aux)
|
||||||
posts=posts.filter(not_(SubmissionAux.title.ilike(f'[changelog]%')))
|
# posts=posts.filter(not_(SubmissionAux.title.ilike(f'[changelog]%')))
|
||||||
|
|
||||||
if v and filter_words:
|
if v and filter_words:
|
||||||
for word in filter_words:
|
for word in filter_words:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue