From 3b5bf6ef5b47b7c01ad9fe8e6f1dbaf2674070ed Mon Sep 17 00:00:00 2001 From: Maksim Eltyshev Date: Mon, 21 Nov 2022 17:07:51 +0100 Subject: [PATCH] fix: Fix card repositioning Closes #340 --- server/api/helpers/lists/get-cards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/helpers/lists/get-cards.js b/server/api/helpers/lists/get-cards.js index da4a479e..ea0e495c 100644 --- a/server/api/helpers/lists/get-cards.js +++ b/server/api/helpers/lists/get-cards.js @@ -22,6 +22,6 @@ module.exports = { }; } - return sails.helpers.cards.getMany(criteria); + return sails.helpers.cards.getMany(criteria, 'position'); }, };