mirror of https://github.com/MISP/MISP
fix: [tag collections] fixed galaxies not showing up
parent
977d10a87f
commit
1b1fca34ce
|
@ -248,7 +248,13 @@ class TagCollectionsController extends AppController
|
|||
|
||||
public function index()
|
||||
{
|
||||
$this->set('list', $this->paginate());
|
||||
$list = $this->paginate();
|
||||
$this->loadModel('Event');
|
||||
foreach ($list as $k => $tag_collection) {
|
||||
$list[$k] = $this->Event->massageTags($tag_collection, $dataType = 'TagCollection');
|
||||
}
|
||||
|
||||
$this->set('list', $list);
|
||||
}
|
||||
|
||||
public function getRow($id)
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
echo $this->element('galaxyQuickViewMini', array(
|
||||
'mayModify' => true,
|
||||
'isAclTagger' => true,
|
||||
'data' => array(),
|
||||
'data' => $item['Galaxy'],
|
||||
'target_id' => h($item['TagCollection']['id']),
|
||||
'target_type' => 'tag_collection'
|
||||
));
|
||||
|
|
Loading…
Reference in New Issue