summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorMarc Hartmayer <hello@hartmayer.com>2020-05-25 23:26:07 +0200
committerMarc Hartmayer <hello@hartmayer.com>2020-05-25 23:26:07 +0200
commit3d33ea911a5e721844ab7caab6b1d4e48ba5b02e (patch)
tree64b579ae3a044d483183de43bee1b37989838633 /models
parentbb08e40ea54321b032eabf47eeadbff1dff1e2f9 (diff)
downloadwekan-3d33ea911a5e721844ab7caab6b1d4e48ba5b02e.tar.gz
wekan-3d33ea911a5e721844ab7caab6b1d4e48ba5b02e.tar.bz2
wekan-3d33ea911a5e721844ab7caab6b1d4e48ba5b02e.zip
Fix default value of `sort`
The default has to be a numeric value.
Diffstat (limited to 'models')
-rw-r--r--models/cards.js2
1 files changed, 1 insertions, 1 deletions
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: {
/**