mirror of https://github.com/MISP/MISP
chg: [galaxyClusterRelations] Allow unpublished clusters in the picker
parent
624d8f820a
commit
0f81db556c
|
@ -359,6 +359,9 @@ class GalaxiesController extends AppController
|
||||||
'GalaxyCluster.deleted' => false,
|
'GalaxyCluster.deleted' => false,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
if ($target_type == 'galaxyClusterRelation') {
|
||||||
|
$conditions['OR']['GalaxyCluster.published'] = [true, false];
|
||||||
|
}
|
||||||
if ($selectGalaxy) {
|
if ($selectGalaxy) {
|
||||||
$conditions['GalaxyCluster.galaxy_id'] = $selectGalaxy;
|
$conditions['GalaxyCluster.galaxy_id'] = $selectGalaxy;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue