fix: [tag collections] fixed galaxies not showing up

pull/3989/head
iglocska 2018-12-29 04:25:57 +01:00
parent 977d10a87f
commit 1b1fca34ce
2 changed files with 8 additions and 2 deletions

View File

@ -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)

View File

@ -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'
));