fix: [Galaxies] fix galaxy view, galaxy clusters search. fix #9224

pull/9225/head
Jeroen Pinoy 2023-07-31 16:36:47 +02:00
parent 72df2b48ab
commit 802542ef39
No known key found for this signature in database
GPG Key ID: DF33A50B8E4EE081
1 changed files with 9 additions and 1 deletions

View File

@ -38,7 +38,15 @@ class GalaxyClustersController extends AppController
public function index($galaxyId)
{
$galaxyId = $this->Toolbox->findIdByUuid($this->GalaxyCluster->Galaxy, $galaxyId);
$filters = $this->_harvestParameters(array('context', 'searchall'));
$filterData = array(
'request' => $this->request,
'named_params' => $this->params['named'],
'paramArray' => ['context', 'searchall'],
'ordered_url_params' => [],
'additional_delimiters' => PHP_EOL
);
$exception = false;
$filters = $this->_harvestParameters($filterData, $exception);
$aclConditions = $this->GalaxyCluster->buildConditions($this->Auth->user());
$contextConditions = array();
if (empty($filters['context'])) {