Added todo
This commit is contained in:
@@ -1540,6 +1540,7 @@ function api_search($type)
|
|||||||
$params = ['order' => ['id' => true], 'limit' => [$start, $count]];
|
$params = ['order' => ['id' => true], 'limit' => [$start, $count]];
|
||||||
if (preg_match('/^#(\w+)$/', $searchTerm, $matches) === 1 && isset($matches[1])) {
|
if (preg_match('/^#(\w+)$/', $searchTerm, $matches) === 1 && isset($matches[1])) {
|
||||||
$searchTerm = $matches[1];
|
$searchTerm = $matches[1];
|
||||||
|
/// @todo $uriids = Tag::getURIIdListForTag($searchTerm, local_user());
|
||||||
$condition = ["`oid` > ?
|
$condition = ["`oid` > ?
|
||||||
AND (`uid` = 0 OR (`uid` = ? AND NOT `global`))
|
AND (`uid` = 0 OR (`uid` = ? AND NOT `global`))
|
||||||
AND `otype` = ? AND `type` = ? AND `term` = ?",
|
AND `otype` = ? AND `type` = ? AND `term` = ?",
|
||||||
|
|||||||
Reference in New Issue
Block a user