chg: [galaxyClusters] Sort by version then by value

pull/6628/head
mokaddem 2020-11-19 17:47:19 +01:00
parent bc6f1f3550
commit 8b2cea7cdc
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ class GalaxyClustersController extends AppController
'maxLimit' => 9999, // LATER we will bump here on a problem once we have more than 9999 events <- no we won't, this is the max a user van view/page.
'recursive' => -1,
'order' => array(
'GalaxyCluster.version' => 'DESC',
'GalaxyCluster.value' => 'ASC'
),
'contain' => array(