# HG changeset patch # User Goffi # Date 1554663433 -7200 # Node ID 1a23547f95fd64b7cb3ecd067ba29a96c8f3e259 # Parent c7c52c0dc13aaf9dda84a6f03ee2bcdd2c244c24 memory (sqlite): cast timestamp_start filter to float instead of int diff -r c7c52c0dc13a -r 1a23547f95fd sat/memory/sqlite.py --- a/sat/memory/sqlite.py Sun Apr 07 20:55:27 2019 +0200 +++ b/sat/memory/sqlite.py Sun Apr 07 20:57:13 2019 +0200 @@ -594,7 +594,7 @@ 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 ?")