1
0

Fixed labels being displayed multiple times if they were associated with more than one task (#99)

This commit is contained in:
konrad
2019-09-20 15:52:09 +00:00
committed by Gitea
parent 71ef86e0df
commit 8d5a2685c4
7 changed files with 40 additions and 26 deletions

View File

@ -65,8 +65,18 @@ func sortTasksForTesting(by SortBy) (tasks []*Task) {
CreatedByID: 1,
CreatedBy: user1,
ListID: 1,
Created: 1543626724,
Updated: 1543626724,
Labels: []*Label{
{
ID: 4,
Title: "Label #4 - visible via other task",
CreatedByID: 2,
CreatedBy: user2,
Updated: 0,
Created: 0,
},
},
Created: 1543626724,
Updated: 1543626724,
},
{
ID: 3,