mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
@@ -189,7 +189,10 @@ class QuarantineNavigationParameters(NavigationParameters):
|
||||
request, 'quarantine_navparams'
|
||||
)
|
||||
self.parameters += [
|
||||
('msgtype', None, False), ('viewrequests', None, False)
|
||||
('pattern', '', False),
|
||||
('criteria', 'from_addr', False),
|
||||
('msgtype', None, False),
|
||||
('viewrequests', None, False)
|
||||
]
|
||||
|
||||
def back_to_listing(self):
|
||||
|
||||
@@ -100,7 +100,6 @@ class SQLconnector(object):
|
||||
criteria = "from_addr,subject,to"
|
||||
search_flt = None
|
||||
for crit in criteria.split(","):
|
||||
print crit
|
||||
if crit == "from_addr":
|
||||
nfilter = Q(mail__from_addr__contains=pattern)
|
||||
elif crit == "subject":
|
||||
|
||||
Reference in New Issue
Block a user