Bug: sorting Function (sort by ID)
Describe the bug Error in sorting function while sorting by (ID)
To Reproduce Steps to reproduce the behavior:
- Go to 'http://localhost:5173/home' in your local setup
- Click on 'ID' you will see its not able to sort the tasks by id
- See error
Expected behavior It should sort the task as expected behaviour but its doing nothing except flickering
Video
https://github.com/user-attachments/assets/eab60f65-826e-442f-879e-4e75878e1a72
Desktop (please complete the following information):
- OS: [ linux Ubuntu 22.04.5 LTS]
- Browser [ firefox]
- Version [Ubuntu 22.04.5 LTS]
Note: this is caused after the latest merges. i have solved this same bug in issue #185 PR #199
hey @its-me-abhishek can you assign this issue to me. i have fixed the same kind of issue before in PR #199 so i am well aware of the fixes/ and whats causing this issue. so let me know i will make a pr for this
Hi @Neeraj-gagat!
If you’re referring to the overdue task IDs appearing at the top, that’s expected behavior. The implemented functionality always prioritizes overdue tasks by keeping them at the top, regardless of any filters or sorting applied.
You can also check the PR #209 description, this behavior was intentionally added since overdue tasks should be addressed first.
Reference Image :
Hey @ShivaGupta-14 No I wasn't referring to the overdue tasks being on the top. Check in the video above even the tasks that are not marked as overdue are not sorting as expected. Will create a PR for this soon
@Neeraj-gagat Ohh got it, I understand the actual issue now. Thanks for clarifying, then it's all good.