Browse Source

Merge branch 'GhassenRjab-feature/list-default-view' into devel

Lauri Ojansivu 7 years ago
parent
commit
9e62584b26
2 changed files with 3 additions and 2 deletions
  1. 2 1
      CHANGELOG.md
  2. 1 1
      models/boards.js

+ 2 - 1
CHANGELOG.md

@@ -3,7 +3,8 @@
 This release adds the following new features:
 This release adds the following new features:
 
 
 - [Allow swimlanes reordering](https://github.com/wekan/wekan/commit/37c94622e476f50bf2387bc8b140454d66200e78);
 - [Allow swimlanes reordering](https://github.com/wekan/wekan/commit/37c94622e476f50bf2387bc8b140454d66200e78);
-- [Import missing card fields: isOvertime, startAt and spentTime](https://github.com/wekan/wekan/commit/b475127c53031fa498da139a7d16f3e54d43b90d).
+- [Import missing card fields: isOvertime, startAt and spentTime](https://github.com/wekan/wekan/commit/b475127c53031fa498da139a7d16f3e54d43b90d);
+- [Lists view is the default view when creating boards](https://github.com/wekan/wekan/commit/1ca9e96f35389c0eec2290e8e1207801ee25f907).
 
 
 and fixes the following bugs:
 and fixes the following bugs:
 
 

+ 1 - 1
models/boards.js

@@ -35,7 +35,7 @@ Boards.attachSchema(new SimpleSchema({
     type: String,
     type: String,
     autoValue() { // eslint-disable-line consistent-return
     autoValue() { // eslint-disable-line consistent-return
       if (this.isInsert) {
       if (this.isInsert) {
-        return 'board-view-swimlanes';
+        return 'board-view-lists';
       }
       }
     },
     },
   },
   },