-
-
Notifications
You must be signed in to change notification settings - Fork 159
Added category sorting #187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Please first confirm that current sorting is not behaving the same as in Emacs orgmode. |
lua/orgmode/agenda/views/agenda.lua
Outdated
@@ -37,6 +57,12 @@ local function sort_agenda_items(agenda_items) | |||
return a.headline:get_priority_sort_value() > b.headline:get_priority_sort_value() | |||
end | |||
|
|||
-- if both are on the same day check category |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kristijanhusak can you help with this part - basically I want to give preference to overdue items over categories, but it doesn't seem to do the trick ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok - figured it out - it's headline_date:is_same()
rather than date:is_same()
ok now it works with deadlines as well #128 (comment) |
Another try at addressing #128