diff --git a/lib/Api.php b/lib/Api.php index 3bda6b73..dae7effa 100644 --- a/lib/Api.php +++ b/lib/Api.php @@ -1517,7 +1517,7 @@ public function searchTags($names, $max = 10, $from = 0, } $return = array(); - $redirectUrl = Horde::url('redirect.php'); + $redirectUrl = Horde::url('view.php', true); foreach ($results as $task_id) { try { $task = $injector->getInstance('Nag_Factory_Driver') @@ -1526,7 +1526,7 @@ public function searchTags($names, $max = 10, $from = 0, $return[] = array( 'title' => $task->name, 'desc' => $task->description, - 'view_url' => $redirectUrl->add('b', $task->id), + 'view_url' => $redirectUrl->add('uid', $task->uid), 'app' => 'nag' ); } catch (Exception $e) {