6307: Use untranslated string in filter
svn: r21214
This commit is contained in:
parent
a8a177d396
commit
1200a57d53
@ -94,7 +94,7 @@ class ToDoGramplet(Gramplet):
|
|||||||
all_notes = self.dbstate.db.get_note_handles()
|
all_notes = self.dbstate.db.get_note_handles()
|
||||||
FilterClass = GenericFilterFactory('Note')
|
FilterClass = GenericFilterFactory('Note')
|
||||||
filter = FilterClass()
|
filter = FilterClass()
|
||||||
filter.add_rule(rules.note.HasType([_("To Do")]))
|
filter.add_rule(rules.note.HasType(["To Do"]))
|
||||||
note_list = filter.apply(self.dbstate.db, all_notes)
|
note_list = filter.apply(self.dbstate.db, all_notes)
|
||||||
return note_list
|
return note_list
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user