diff --git a/app/Controller/GalaxiesController.php b/app/Controller/GalaxiesController.php index edb500e27..0f7cd4efc 100644 --- a/app/Controller/GalaxiesController.php +++ b/app/Controller/GalaxiesController.php @@ -22,8 +22,16 @@ class GalaxiesController extends AppController public function index() { $aclConditions = array(); - $filters = $this->IndexFilter->harvestParameters(array('value', 'enabled')); - $searchConditions = array(); + $filterData = array( + 'request' => $this->request, + 'named_params' => $this->params['named'], + 'paramArray' => ['value', 'enabled'], + 'ordered_url_params' => [], + 'additional_delimiters' => PHP_EOL + ); + $exception = false; + $filters = $this->_harvestParameters($filterData, $exception); + $searchConditions = []; if (empty($filters['value'])) { $filters['value'] = ''; } else { diff --git a/app/Controller/GalaxyClustersController.php b/app/Controller/GalaxyClustersController.php index 7246f5174..5eba82a98 100644 --- a/app/Controller/GalaxyClustersController.php +++ b/app/Controller/GalaxyClustersController.php @@ -37,6 +37,7 @@ class GalaxyClustersController extends AppController public function index($galaxyId) { + $galaxyId = $this->Toolbox->findIdByUuid($this->GalaxyCluster->Galaxy, $galaxyId); $filters = $this->IndexFilter->harvestParameters(array('context', 'searchall')); $aclConditions = $this->GalaxyCluster->buildConditions($this->Auth->user()); $contextConditions = array();