Link tags after adding them through autosuggest.
This commit is contained in:
@@ -41,8 +41,9 @@ class ProvideAutoSuggest extends JSONController
|
||||
$results = Tag::matchPeople($data);
|
||||
foreach ($results as $id_tag => $tag)
|
||||
$this->payload['items'][] = [
|
||||
'label' => $tag,
|
||||
'label' => $tag['tag'],
|
||||
'id_tag' => $id_tag,
|
||||
'url' => BASEURL . '/' . $tag['slug'] . '/',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user