Browse Source

Fix default value of `sort`

The default has to be a numeric value.
Marc Hartmayer 5 years ago
parent
commit
3d33ea911a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/cards.js

+ 1 - 1
models/cards.js

@@ -278,7 +278,7 @@ Cards.attachSchema(
        */
       type: Number,
       decimal: true,
-      defaultValue: '',
+      defaultValue: 0,
     },
     subtaskSort: {
       /**