Fix search

master
Bob Mottram 2019-08-14 21:39:26 +01:00
parent ef89dda935
commit d056f14ed6
1 changed files with 2 additions and 1 deletions

View File

@ -1589,7 +1589,8 @@ def htmlProfileAfterSearch(baseDir: str,path: str,httpPrefix: str, \
result = [] result = []
i = 0 i = 0
for item in parseUserFeed(session,outboxUrl,asHeader): for item in parseUserFeed(session,outboxUrl,asHeader, \
projectVersion,httpPrefix,domain):
if not item.get('type'): if not item.get('type'):
continue continue
if item['type']!='Create' and item['type']!='Announce': if item['type']!='Create' and item['type']!='Announce':