Skip to content

Commit

Permalink
Merge pull request #386 from aplbrain/add-highest-priority
Browse files Browse the repository at this point in the history
Add highest priority
  • Loading branch information
hannah-martinez authored Dec 22, 2022
2 parents ccf7ca4 + 88679d9 commit 35f0a9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion neuvue_project/deps/neuvue-client
1 change: 1 addition & 0 deletions neuvue_project/workspace/views/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 35f0a9d

Please sign in to comment.