Ticket #1342 (closed defect: fixed)
range queries use lexical comparison, not numerical
|Reported by:||sascha_silbe||Owned by:||sascha_silbe|
|Component:||sugar-datastore||Version:||Git as of bugdate|
While adding a range query example to the test suite I discovered a bug: Range queries currently do lexical comparisons, not a numerical ones. This means that a range query of 9000..11000 will _not_ match 10000.
For the current code this is a minor issue as only the 'timestamp' property supports range queries and all dates between about mid-2001 and 2033 have exactly ten digits (so for regular Journal entries it shouldn't make any difference).