memory (sqlite): cast timestamp_start filter to float instead of int
This commit is contained in:
parent
5a90f9d407
commit
4701027950
1 changed files with 1 additions and 1 deletions
|
|
@ -594,7 +594,7 @@ class SqliteStorage(object):
|
|||
if filters:
|
||||
if u'timestamp_start' in filters:
|
||||
query_parts.append(u"AND timestamp>= ?")
|
||||
values.append(int(filters[u'timestamp_start']))
|
||||
values.append(float(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 ?")
|
||||
|
|
|
|||
Loading…
Reference in a new issue