Skip to content

Commit

Permalink
Merge pull request #104 from mbarczak/search_exception_fix_master
Browse files Browse the repository at this point in the history
Fix for #72 - occ fulltextsearch:search throws unhandled exception
  • Loading branch information
ArtificialOwl authored Apr 23, 2021
2 parents 53066d1 + 269a5e4 commit d111fd0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Service/SearchService.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ public function improveSearchRequest(ISearchRequest $request) {
$this->searchQueryInOptions($request);
$this->searchQueryFiltersExtension($request);
$this->searchQueryFiltersSource($request);

if($this->userId === null) {
$this->userId = $this->miscService->secureUsername($request->getAuthor());
}
$request->addPart('comments');
$this->extensionService->searchRequest($request);
}
Expand Down

0 comments on commit d111fd0

Please sign in to comment.