diff options
author | boeserwolf <github@noxware.de> | 2020-04-19 10:48:44 +0300 |
---|---|---|
committer | boeserwolf <github@noxware.de> | 2020-04-19 10:48:44 +0300 |
commit | 2400c910135dbcdddd82954951fc3a970748af55 (patch) | |
tree | d0466314bc481a8e02a22a0e7bfaa0305e6a97cc /models/boards.js | |
parent | f583645744be50cba72a3e80ba2d916abb84eaba (diff) | |
download | wekan-2400c910135dbcdddd82954951fc3a970748af55.tar.gz wekan-2400c910135dbcdddd82954951fc3a970748af55.tar.bz2 wekan-2400c910135dbcdddd82954951fc3a970748af55.zip |
Add sort field to boards model
Diffstat (limited to 'models/boards.js')
-rw-r--r-- | models/boards.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/models/boards.js b/models/boards.js index 35ee1a36..fba690a7 100644 --- a/models/boards.js +++ b/models/boards.js @@ -493,6 +493,14 @@ Boards.attachSchema( type: String, defaultValue: 'board', }, + sort: { + /** + * Sort value + */ + type: Number, + decimal: true, + defaultValue: -1, + }, }), ); |