6995: Fix bug in event citation filter

svn: r22859
This commit is contained in:
Nick Hall 2013-08-13 18:23:57 +00:00
parent 4c7d413f40
commit 189d1f0f59

View File

@ -53,10 +53,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