Explorar el Código

Merge pull request #3122 from marc1006/default_value

Fix default value of `sort`
Lauri Ojansivu hace 5 años
padre
commit
88844034fc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: {
       /**