Display priority changes in board view for inverted priority ranges
Similar to allowing update of priorities when `priority_end` is greater than `priority_start`, to support inverted priority ranges, allow that change to propagate into `formatPriority` and display in the board view.
This commit is contained in:
parent
b30a4fca24
commit
861441ed31
|
|
@ -228,7 +228,7 @@ class TaskHelper extends Base
|
|||
{
|
||||
$html = '';
|
||||
|
||||
if ($project['priority_end'] > $project['priority_start']) {
|
||||
if ($project['priority_end'] != $project['priority_start']) {
|
||||
$html .= '<span class="task-board-priority" title="'.t('Task priority').'">';
|
||||
$html .= $task['priority'] >= 0 ? 'P'.$task['priority'] : '-P'.abs($task['priority']);
|
||||
$html .= '</span>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue