]> git.mxchange.org Git - friendica.git/commitdiff
Function renamed
authorMichael <heluecht@pirati.ca>
Fri, 1 May 2020 13:13:58 +0000 (13:13 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 1 May 2020 13:13:58 +0000 (13:13 +0000)
src/Model/Tag.php
src/Module/Search/Index.php

index 2c5295924aa267f970ff96c2594667daf3a926fe..86c93efe8e88a3cc9545fba15ca6dfbb2f5a23f2 100644 (file)
@@ -398,7 +398,7 @@ class Tag
         * @param integer $limit
         * @return array with URI-ID
         */
-       public static function getURIIdListForTag(string $search, int $uid = 0, int $start = 0, int $limit = 100)
+       public static function getURIIdListByTag(string $search, int $uid = 0, int $start = 0, int $limit = 100)
        {
                $condition = ["`name` = ? AND (NOT `private` OR (`private` AND `uid` = ?))", $search, $uid];
                $params = [
index 0aba7a203d5422c544ab97bc499ec0653c991938..27074fa82a0e9308b39af7e1c5dcf8940ff1d1e1 100644 (file)
@@ -149,7 +149,7 @@ class Index extends BaseSearch
 
                if ($tag) {
                        Logger::info('Start tag search.', ['q' => $search]);
-                       $uriids = Tag::getURIIdListForTag($search, local_user(), $pager->getStart(), $pager->getItemsPerPage());
+                       $uriids = Tag::getURIIdListByTag($search, local_user(), $pager->getStart(), $pager->getItemsPerPage());
 
                        if (!empty($uriids)) {
                                $params = ['order' => ['id' => true], 'group_by' => ['uri-id']];