Procházet zdrojové kódy

Fix psalm error

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Marcel Klehr před 1 rokem
rodič
revize
29c0e078a1

+ 1 - 1
apps/systemtags/lib/Search/TagSearchProvider.php

@@ -113,7 +113,7 @@ class TagSearchProvider implements IProvider {
 	 * @inheritDoc
 	 */
 	public function search(IUser $user, ISearchQuery $query): SearchResult {
-		$matchingTags = $this->tagManager->getAllTags(1, $query->getTerm());
+		$matchingTags = $this->tagManager->getAllTags(true, $query->getTerm());
 		if (count($matchingTags) === 0) {
 			return SearchResult::complete($this->l10n->t('Tags'), []);
 		}