This commit is contained in:
@@ -132,7 +132,8 @@ class Project extends PhpObject {
|
||||
'active_to',
|
||||
"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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user