diff --git a/neuvue_project/deps/neuvue-client b/neuvue_project/deps/neuvue-client index edea8a5c..c7965e43 160000 --- a/neuvue_project/deps/neuvue-client +++ b/neuvue_project/deps/neuvue-client @@ -1 +1 @@ -Subproject commit edea8a5ccaec615a43b4454632e0e0dbfbe70335 +Subproject commit c7965e431b3dc75246b014eb7f884ab978d6378c diff --git a/neuvue_project/workspace/views/task.py b/neuvue_project/workspace/views/task.py index 8bbf7736..64b227f1 100644 --- a/neuvue_project/workspace/views/task.py +++ b/neuvue_project/workspace/views/task.py @@ -299,6 +299,7 @@ def post(self, request, *args, **kwargs): sieve={"assignee": group_to_pull_from, "namespace": namespace}, limit=num_tasks, select=["_id"], + sort="-priority" ) if len(unassigned_tasks) == 0: # Warn the user that no tasks are left in the queue