Task List Sorting Not Retaining Sort Order
Opened this issue · 1 comments
The task list sort value is not being retained after a task has been updated and transition back to task list page.
This issue seems to be fixed now. I changed the order of the sort value application in the sort UI bar click function within UIFunctions.js. The segment was being clicked, the value was being passed to getDBTaskEntries then the value was being changed and re-applied to the segment. Because of this order of events, DESC order may have been passed to getDBTaskEntries then changed to ASC, then ASC captured when the user updates a task (even though ASC was not the proper sort order; it is the upcoming sort order). To fix this, I reordered the logic to change the value upon click then send the new value to getDBTaskEntries and apply the new value to the segment. Leaving this open until Justin can confirm on his end.