Link tags after adding them through autosuggest.
This commit is contained in:
1 parent
20db3561cf
commit
05c48be785
3 files changed
+11
-5
No files matched your search
@@ -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