From 27a442dbd3275def17c4c1985300a51410764302 Mon Sep 17 00:00:00 2001 From: Valentin Rigal <rigal@teklia.com> Date: Wed, 23 Aug 2023 10:53:52 +0200 Subject: [PATCH] Fix ListCorpusWorkerVersions ordering --- arkindex/process/api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arkindex/process/api.py b/arkindex/process/api.py index c1c13851ae..71408a746b 100644 --- a/arkindex/process/api.py +++ b/arkindex/process/api.py @@ -1176,6 +1176,9 @@ class CorpusWorkerVersionList(CorpusACLMixin, ListAPIView): .order_by( 'worker_version__worker__name', 'worker_version__revision__hash', + 'model_version__model__name', + 'worker_configuration__name', + 'id', ) .prefetch_related( 'worker_version__revision__refs', -- GitLab