From 789a26706e5f677ff14b177e7de8256a26df2a5d Mon Sep 17 00:00:00 2001 From: Maltimore Date: Mon, 20 Feb 2023 11:17:20 +0100 Subject: [PATCH] notifications: show notifications for all active dates --- lua/orgmode/notifications/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/orgmode/notifications/init.lua b/lua/orgmode/notifications/init.lua index 54f5769fb..bab013098 100644 --- a/lua/orgmode/notifications/init.lua +++ b/lua/orgmode/notifications/init.lua @@ -91,7 +91,7 @@ function Notifications:get_tasks(time) local tasks = {} for _, orgfile in ipairs(Files.all()) do for _, headline in ipairs(orgfile:get_opened_unfinished_headlines()) do - for _, date in ipairs(headline:get_deadline_and_scheduled_dates()) do + for _, date in ipairs(headline:get_valid_dates_for_agenda()) do local reminders = self:_check_reminders(date, time) for _, reminder in ipairs(reminders) do table.insert(tasks, {