diff --git a/sat/memory/sqlite.py b/sat/memory/sqlite.py index ad670878..ee5b8cba 100644 --- a/sat/memory/sqlite.py +++ b/sat/memory/sqlite.py @@ -590,6 +590,9 @@ class SqliteStorage(object): order = False if filters: + if u'timestamp_start' in filters: + query_parts.append(u"AND timestamp>= ?") + values.append(int(filters[u'timestamp_start'])) if u'body' in filters: # TODO: use REGEXP (function to be defined) instead of GLOB: https://www.sqlite.org/lang_expr.html query_parts.append(u"AND message LIKE ?")