]> git.mxchange.org Git - friendica.git/commitdiff
Added todo
authorMichael <heluecht@pirati.ca>
Wed, 29 Apr 2020 09:12:56 +0000 (09:12 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 29 Apr 2020 09:12:56 +0000 (09:12 +0000)
include/api.php

index 77dc020da348b759279528a4f3c34801ae70b481..97c30e317acf3f26413d0cb3409e843a8eab7e83 100644 (file)
@@ -1540,6 +1540,7 @@ function api_search($type)
        $params = ['order' => ['id' => true], 'limit' => [$start, $count]];
        if (preg_match('/^#(\w+)$/', $searchTerm, $matches) === 1 && isset($matches[1])) {
                $searchTerm = $matches[1];
+               /// @todo $uriids = Tag::getURIIdListForTag($searchTerm, local_user());
                $condition = ["`oid` > ?
                        AND (`uid` = 0 OR (`uid` = ? AND NOT `global`)) 
                        AND `otype` = ? AND `type` = ? AND `term` = ?",