handlers: HandlerSearch: Add missing call to setGeneralVars()

This commit is contained in:
Albert S. 2021-11-14 21:19:04 +01:00
parent 5db9305408
commit bbe74a2c50
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ Response HandlerSearch::handleRequest(const Request &r)
TemplatePage searchForm = this->templ->getPage("searchform");
response.setBody(searchForm.render());
response.setStatus(200);
setGeneralVars(searchForm);
return response;
}