* Fix bug #34873 again.

This commit is contained in:
songchenxuan
2023-05-22 13:15:15 +08:00
parent 2bd9e84341
commit c2ed55899f
-4
View File
@@ -1727,7 +1727,6 @@ class docModel extends model
->andWhere('t1.vision')->eq($this->config->vision)
->andWhere('t1.deleted')->eq(0)
->beginIF($this->config->vision == 'rnd')->andWhere('model')->ne('kanban')->fi()
->beginIF($append)->orWhere('t1.id')->eq($append)->fi()
->beginIF(!$this->app->user->admin)->andWhere('t1.id')->in($this->app->user->view->projects)->fi()
->fetchPairs();
}
@@ -1767,9 +1766,6 @@ class docModel extends model
$closedObjects[$id] = $project->name;
}
}
/* Fix bug #34873. */
ksort($myObjects);
}
elseif($objectType == 'execution')
{