Delete removes a different task than the one clicked when the list is sorted by Title or Due date
Steps to reproduce
- Log in and open the dashboard with several tasks, including 'Bugsniffer QA task sniff-202611031552-31' and the newer 'Bugsniffer QA task sniff-202611031552-32'
- Set Sort by to Title (task-31 is now the first row)
- Click Delete on the first row 'Bugsniffer QA task sniff-202611031552-31' and accept 'Delete this task? This cannot be undone.'
- Read the list, then reload
Expected
The task on the row whose Delete was clicked (task-31) is deleted.What happened
task-32 (the newest task, first in the default Newest order) is deleted and task-31 stays, also after reload. The app deletes by position in the default order rather than the clicked task.