* Fix bug of task #89841.

This commit is contained in:
liumengyi
2023-04-11 11:33:51 +08:00
parent 3978dd46a6
commit 3ab4c92443
+1 -1
View File
@@ -2100,7 +2100,7 @@ class groupModel extends model
->andWhere('t3.objectType')->eq('priv')
->andWhere('t2.edition')->like("%,{$this->config->edition},%")
->andWhere('t2.vision')->like("%,{$this->config->vision},%")
->orderBy('t2.`order`_asc')
->orderBy('t2.`order`_asc, t1.`type` desc')
->fetchAll('relationPriv');
$privList = empty($type) ? array('depend' => array(), 'recommend' => array()) : array($type => array());