Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d62fd3c

Browse files
fix(agenda): Pass global agenda filter to custom commands
1 parent 4dcba70 commit d62fd3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/orgmode/agenda/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function Agenda:_build_custom_commands()
123123
end
124124

125125
opts_by_type[opts.type].sorting_strategy = opts.org_agenda_sorting_strategy
126-
opts_by_type[opts.type].filters = self.filters
126+
opts_by_type[opts.type].agenda_filter = self.filters
127127
opts_by_type[opts.type].files = self.files
128128
opts_by_type[opts.type].header = opts.org_agenda_overriding_header
129129
opts_by_type[opts.type].agenda_files = opts.org_agenda_files

0 commit comments

Comments
 (0)