Missing parameter

merge-requests/8/head
Bob Mottram 2020-11-02 10:19:43 +00:00
parent 8f872c6fac
commit 189a8ff2a0
2 changed files with 4 additions and 2 deletions

View File

@ -9646,7 +9646,8 @@ class PubServer(BaseHTTPRequestHandler):
msg = htmlSearch(self.server.cssCache,
self.server.translate,
self.server.baseDir, self.path,
self.server.domain).encode('utf-8')
self.server.domain,
self.server.defaultTimeline).encode('utf-8')
self._set_headers('text/html', len(msg), cookie, callingDomain)
self._write(msg)
self.server.GETbusy = False

View File

@ -8600,7 +8600,8 @@ def htmlHashTagSwarm(baseDir: str, actor: str) -> str:
def htmlSearch(cssCache: {}, translate: {},
baseDir: str, path: str, domain: str) -> str:
baseDir: str, path: str, domain: str,
defaultTimeline: str) -> str:
"""Search called from the timeline icon
"""
actor = path.replace('/search', '')