6995: Fix bug in event citation filter

svn: r22857
This commit is contained in:
Nick Hall 2013-08-13 18:23:26 +00:00
parent 0e743ad106
commit d988af9d10

View File

@ -52,10 +52,3 @@ class HasCitation(HasCitationBase):
name = _('Events with the <citation>')
description = _("Matches events with a citation of a particular "
"value")
def apply(self, dbase, event):
for citation_handle in event.get_citation_list():
citation = dbase.get_citation_from_handle(citation_handle)
if HasCitationBase.apply(self, dbase, citation):
return True
return False