Sort by Priority then date
This commit is contained in:
parent
9a86542303
commit
05e41675b1
@ -116,6 +116,8 @@ func (screen *MainScreen) reloadList(bundle termboxScreen.Bundle) error {
|
||||
(*screen.displayList) = append(*screen.displayList, av)
|
||||
}
|
||||
}
|
||||
screen.displayList.Sort(todotxt.SORT_CREATED_DATE_DESC)
|
||||
screen.displayList.Sort(todotxt.SORT_PRIORITY_ASC)
|
||||
case MainBundleListDone:
|
||||
if err := app.LoadDoneList(); err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user