wichmannpas / todoscheduler

Manage and schedule your tasks to increase your productivity
Apache License 2.0
2 stars 1 forks source link

do not exchange day order of task chunks when changing day #84

Closed wichmannpas closed 6 years ago

wichmannpas commented 6 years ago

When changing the day order of a task chunk to that of another existing task chunk of that day, the day order of the existing chunk is set to the old day order of the updated chunk. When changing the day order without changing the day, this is the expected behaviour; however, when changing the day as well, the day order chosen for exchange gets the day order the task chunk had at its previous day. This can lead to inconsistencies (i.e., multiple identical day orders within a single day).

Instead, when changing the of a task chunk and providing a day order, the day order should be ignored if the day is also updated.