From ede69a86733286c97a931563b1c31bd3e4ba25f9 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 1 May 2020 13:13:58 +0000 Subject: [PATCH] Function renamed --- src/Model/Tag.php | 2 +- src/Module/Search/Index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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']];