From 9aa6679bae712f8ee7df3d0b2876545b4d6184f5 Mon Sep 17 00:00:00 2001 From: Hannah Gooden Date: Thu, 22 Dec 2022 11:44:18 -0500 Subject: [PATCH 1/2] #385 Add more tasks pulls highest priority tasks --- neuvue_project/workspace/views/task.py | 1 + 1 file changed, 1 insertion(+) 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 From 88679d968946e6e1e099c4cfd5efff6e1ba3a6ad Mon Sep 17 00:00:00 2001 From: Hannah Gooden Date: Thu, 22 Dec 2022 11:49:55 -0500 Subject: [PATCH 2/2] #385 Add client update to app --- neuvue_project/deps/neuvue-client | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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