]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix psalm error 39194/head
authorMarcel Klehr <mklehr@gmx.net>
Fri, 30 Jun 2023 10:32:14 +0000 (12:32 +0200)
committerAnna Larch <anna@nextcloud.com>
Thu, 6 Jul 2023 12:56:18 +0000 (14:56 +0200)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
apps/systemtags/lib/Search/TagSearchProvider.php

index d775629b67447ee77154db54d89c6e073f73ca2b..5c731e42cc3e06d8bc0af4af5099350241234b38 100644 (file)
@@ -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'), []);
                }