fix unused config for model

This commit is contained in:
team 1
2026-02-18 11:41:58 +01:00
parent f5eaaa1bb8
commit 12a5ab0bb3
7 changed files with 17 additions and 24 deletions

View File

@@ -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,