Don't include announces in search preview

merge-requests/21/head
Bob Mottram 2021-02-17 22:28:44 +00:00
parent 6b2226ff37
commit 95f3fc7913
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ def htmlProfileAfterSearch(cssCache: {},
continue
if not item.get('type'):
continue
if item['type'] != 'Create' and item['type'] != 'Announce':
if item['type'] != 'Create':
continue
if not item.get('object'):
continue