From 3d33ea911a5e721844ab7caab6b1d4e48ba5b02e Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Mon, 25 May 2020 23:26:07 +0200 Subject: Fix default value of `sort` The default has to be a numeric value. --- models/cards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/cards.js') diff --git a/models/cards.js b/models/cards.js index d5038580..939d1be3 100644 --- a/models/cards.js +++ b/models/cards.js @@ -278,7 +278,7 @@ Cards.attachSchema( */ type: Number, decimal: true, - defaultValue: '', + defaultValue: 0, }, subtaskSort: { /** -- cgit v1.2.3-1-g7c22