fix unused config for model
This commit is contained in:
@@ -21,7 +21,7 @@ class ModelGenerationConfigController extends AbstractController
|
||||
{
|
||||
$this->denyAccessUnlessGranted('ROLE_KNOWLEDGE_ADMIN');
|
||||
|
||||
$configs = $repository->findBy([], ['modelName' => 'ASC', 'version' => 'DESC']);
|
||||
$configs = $repository->findBy([], ['active' => 'DESC', 'modelName' => 'ASC', 'version' => 'DESC']);
|
||||
|
||||
return $this->render('admin/model_config/list.html.twig', [
|
||||
'configs' => $configs,
|
||||
|
||||
Reference in New Issue
Block a user