6307: Use untranslated string in filter
svn: r21215
This commit is contained in:
parent
c221c1076a
commit
0e172acd4c
@ -93,7 +93,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