Tasks with parent tasks appear duplicated in list views

If add a task relation with task B as a subtask to task A and also as a subtask to Task C which is in a different project Task B will appear under each parent task in each project (which is expected and I really like this feature. It lets me soft move tasks around projects) and also appear a second time at the end of the list of tasks for both projects. This bug repeats for any more parent tasks added. See photos for the bug recreated in the demo… hopefully it’ll provide a clearer explanation.

All in one photo since I can only upload a single media item at ounce.

Not a big deal really and I gotta say loving using Vikunja so far but figured I’d throw this oddity out there.

Thanks for the report!

Do you see this only with tasks which have multiple relations like the
“Learn a new recipe” task in your example?

Yes its just when a task has multiple parent tasks specifically(as far as I have seen).

You mentioned specifically this happens when a task is related to tasks in multiple projects, do you see this as well when a task is related to multiple tasks in the same project?

No. If the two or more parent tasks are in the same project the subtask appears under both of them (which seems like desired behavior to me) but does not appear an additional time in the list. Seems only when the parents are in separate projects from each other does the task appear under both but also on the lists as a task with no parent.

This is definitely a bug then. I’ll take a look.