Fix missing filter parameter

This commit is contained in:
Nick Hall 2017-01-27 14:24:06 +00:00
parent 68fbebe7d1
commit 36d68f089f
6 changed files with 6 additions and 6 deletions

View File

@ -57,7 +57,7 @@ class MatchesEventFilterBase(MatchesFilterBase):
namespace = 'Event'
def prepare(self, db, user):
MatchesFilterBase.prepare(self, db)
MatchesFilterBase.prepare(self, db, user)
self.MEF_filt = self.find_filter()
def apply(self, db, object):

View File

@ -54,7 +54,7 @@ class MatchesSourceFilterBase(MatchesFilterBase):
namespace = 'Source'
def prepare(self, db, user):
MatchesFilterBase.prepare(self, db)
MatchesFilterBase.prepare(self, db, user)
self.MSF_filt = self.find_filter()
def apply(self, db, object):

View File

@ -54,7 +54,7 @@ class MatchesRepositoryFilter(MatchesFilterBase):
def prepare(self, db, user):
MatchesFilterBase.prepare(self, db)
MatchesFilterBase.prepare(self, db, user)
self.MRF_filt = self.find_filter()
def apply(self, db, object):

View File

@ -55,7 +55,7 @@ class MatchesSourceFilter(MatchesFilterBase):
namespace = 'Source'
def prepare(self, db, user):
MatchesFilterBase.prepare(self, db)
MatchesFilterBase.prepare(self, db, user)
self.MRF_filt = self.find_filter()
def apply(self, db, object):

View File

@ -57,7 +57,7 @@ class MatchesPersonFilter(MatchesFilterBase):
namespace = 'Person'
def prepare(self, db, user):
MatchesFilterBase.prepare(self, db)
MatchesFilterBase.prepare(self, db, user)
try :
if int(self.list[1]):

View File

@ -51,7 +51,7 @@ class MatchesRepositoryFilter(MatchesFilterBase):
def prepare(self, db, user):
MatchesFilterBase.prepare(self, db)
MatchesFilterBase.prepare(self, db, user)
self.MRF_filt = self.find_filter()
def apply(self, db, object):