mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:42:53 +00:00
Added todo
This commit is contained in:
parent
8c44f535b7
commit
2423831b90
1 changed files with 1 additions and 0 deletions
|
@ -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` = ?",
|
||||
|
|
Loading…
Reference in a new issue