| Línea 94... |
Línea 94... |
| 94 |
|
94 |
|
| 95 |
|
95 |
|
| 96 |
$currentUserPlugin = $this->plugin('currentUserPlugin');
|
96 |
$currentUserPlugin = $this->plugin('currentUserPlugin');
|
| 97 |
$currentUser = $currentUserPlugin->getUser();
|
97 |
$currentUser = $currentUserPlugin->getUser();
|
| Línea 98... |
Línea 98... |
| 98 |
$currentCompany = $currentUserPlugin->getCompany();
|
98 |
$currentCompany = $currentUserPlugin->getCompany();
|
| 99 |
$group_uuid = $this->params()->fromRoute('group_uuid');
|
99 |
$group_uuid = $this->params()->fromRoute('group_id');
|
| Línea 157... |
Línea 157... |
| 157 |
$topic = $topicMapper->fetchOne($record->topic_id);
|
157 |
$topic = $topicMapper->fetchOne($record->topic_id);
|
| Línea 158... |
Línea 158... |
| 158 |
|
158 |
|
| 159 |
$item = [
|
159 |
$item = [
|
| 160 |
'title' => $record->title,
|
160 |
'title' => $record->title,
|
| 161 |
'category' => $topic->title,
|
161 |
'category' => $topic->title,
|
| 162 |
'link_foro'=> $allowView ? $this->url()->fromRoute('high-performance-teams/groups/view/foro/categories/articles/view',['group_uuid' => $highPerformanceTeamsGroups->uuid,'category_uuid' => $topic->uuid, 'article_uuid' => $record->uuid]) : '',
|
162 |
'link_foro'=> $allowView ? $this->url()->fromRoute('high-performance-teams/groups/view/foro/categories/articles/view',['group_id' => $highPerformanceTeamsGroups->uuid,'category_id' => $topic->uuid, 'article_id' => $record->uuid]) : '',
|
| 163 |
];
|
163 |
];
|
| 164 |
array_push($items, $item);
|
164 |
array_push($items, $item);
|