From 1a6ccec30ba5fecb1ee8e7b57085f2a8df98cb00 Mon Sep 17 00:00:00 2001 From: Nico <60229704+Marchand-Nicolas@users.noreply.github.com> Date: Thu, 12 Sep 2024 11:51:14 +0200 Subject: [PATCH] feat: option to overwrite task order --- src/endpoints/get_tasks.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/endpoints/get_tasks.rs b/src/endpoints/get_tasks.rs index c96bbc3b..d98c8346 100644 --- a/src/endpoints/get_tasks.rs +++ b/src/endpoints/get_tasks.rs @@ -84,6 +84,7 @@ pub async fn handler( } }, doc! { "$sort": { "sort_order": 1 } }, + doc! { "$sort": { "overwrite_order": 1 } }, doc! { "$project": { "_id": 0,