We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74e4294 commit 54c6cc2Copy full SHA for 54c6cc2
lua/orgmode/parser/file.lua
@@ -205,9 +205,17 @@ function File:apply_search(search, todo_only)
205
if item:is_archived() or (todo_only and not item:is_todo()) then
206
return false
207
end
208
+
209
+ local deadline = item:get_deadline_date()
210
+ local scheduled = item:get_scheduled_date()
211
+ local closed = item:get_closed_date()
212
213
return search:check({
214
props = vim.tbl_extend('keep', {}, item.properties.items, {
215
category = item.category,
216
+ deadline = deadline and deadline:to_wrapped_string(true),
217
+ scheduled = scheduled and scheduled:to_wrapped_string(true),
218
+ closed = closed and closed:to_wrapped_string(false),
219
}),
220
tags = item.tags,
221
todo = item.todo_keyword.value,
0 commit comments