From: Michael Date: Fri, 1 May 2020 13:13:58 +0000 (+0000) Subject: Function renamed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ede69a86733286c97a931563b1c31bd3e4ba25f9;p=friendica.git Function renamed --- diff --git a/src/Model/Tag.php b/src/Model/Tag.php index 2c5295924a..86c93efe8e 100644 --- a/src/Model/Tag.php +++ b/src/Model/Tag.php @@ -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 = [ diff --git a/src/Module/Search/Index.php b/src/Module/Search/Index.php index 0aba7a203d..27074fa82a 100644 --- a/src/Module/Search/Index.php +++ b/src/Module/Search/Index.php @@ -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']];