We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5706964 commit a4c364bCopy full SHA for a4c364b
plugins/ekanban/app/models/kanban.rb
@@ -145,6 +145,12 @@ def wip
145
KanbanCard.open().by_user(self).in_progress().size
146
end
147
148
+ def wip_limit
149
+ id = CustomField.find_by_name("WIP limit").id
150
+ v = self.custom_value_for(id)
151
+ v.nil? ? 3 : v.value.to_i
152
+ end
153
+
154
155
156
class Principal < ActiveRecord::Base
plugins/ekanban/db/migrate/011_add_wip_col_to_user.rb
0 commit comments