The task limit should consider all open tasks (not only filtered tasks)
Fixes #4291
This commit is contained in:
@@ -99,12 +99,12 @@
|
||||
<?php endif ?>
|
||||
</span>
|
||||
|
||||
<?php if (! empty($column['column_nb_tasks'])): ?>
|
||||
<?php if (! empty($column['column_nb_open_tasks'])): ?>
|
||||
<span title="<?= t('Total number of tasks in this column across all swimlanes') ?>" class="board-column-header-task-count">
|
||||
<?php if ($column['task_limit'] > 0): ?>
|
||||
(<span><?= $column['column_nb_tasks'] ?></span> / <span title="<?= t('Task limit') ?>"><?= $this->text->e($column['task_limit']) ?></span>)
|
||||
(<span><?= $column['column_nb_open_tasks'] ?></span> / <span title="<?= t('Task limit') ?>"><?= $this->text->e($column['task_limit']) ?></span>)
|
||||
<?php else: ?>
|
||||
(<span><?= $column['column_nb_tasks'] ?></span>)
|
||||
(<span><?= $column['column_nb_open_tasks'] ?></span>)
|
||||
<?php endif ?>
|
||||
</span>
|
||||
<?php endif ?>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<?php foreach ($swimlane['columns'] as $column): ?>
|
||||
<td class="
|
||||
board-column-<?= $column['id'] ?>
|
||||
<?= $column['task_limit'] > 0 && $column['column_nb_tasks'] > $column['task_limit'] ? 'board-task-list-limit' : '' ?>
|
||||
<?= $column['task_limit'] > 0 && $column['column_nb_open_tasks'] > $column['task_limit'] ? 'board-task-list-limit' : '' ?>
|
||||
"
|
||||
>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user