Fix project order
All checks were successful
Deploy Spot / deploy (push) Successful in 34s

This commit is contained in:
2026-06-01 09:34:41 +02:00
parent 05c77f30bd
commit 36f9057a30

View File

@@ -132,7 +132,8 @@ class Project extends PhpObject {
'active_to', 'active_to',
"IF(NOW() BETWEEN active_from AND active_to, 1, IF(NOW() < active_from, 0, 2)) AS mode" "IF(NOW() BETWEEN active_from AND active_to, 1, IF(NOW() < active_from, 0, 2)) AS mode"
), ),
'from' => self::PROJ_TABLE 'from' => self::PROJ_TABLE,
'orderBy' => array('active_from' => 'ASC')
); );
if($bSpecificProj) $asInfo['constraint'] = array(Db::getId(self::PROJ_TABLE)=>$iProjectId); if($bSpecificProj) $asInfo['constraint'] = array(Db::getId(self::PROJ_TABLE)=>$iProjectId);