diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-31 14:34:54 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-31 14:34:54 +0300 |
commit | f452c1aa7ddb13958502422769dc20a9a8e160fa (patch) | |
tree | 0496fdc141096064dc775e37a27f33c21ad0efa5 /app/models/list.rb | |
parent | 8039b9c3c6caedc19e0e44d086a007e8975134b7 (diff) |
Expand/collapse close & backlog lists in issue boards
The closed & backlog lists in issue boards are no collapsible. They can
be collapsed independently of each other & this selection is then saved
to the browser through localStorage. When the page loads, the code gets
the data from localStorage & determines whether to show or hide the list
Closes #23917
Diffstat (limited to 'app/models/list.rb')
-rw-r--r-- | app/models/list.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/list.rb b/app/models/list.rb index fbd19acd1f5..e587f6d99a6 100644 --- a/app/models/list.rb +++ b/app/models/list.rb @@ -2,7 +2,7 @@ class List < ActiveRecord::Base belongs_to :board belongs_to :label - enum list_type: { label: 1, closed: 2 } + enum list_type: { backlog: 0, label: 1, closed: 2 } validates :board, :list_type, presence: true validates :label, :position, presence: true, if: :label? |