[Bugs] #1342 IMME: range queries use lexical comparison, not numerical

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Sep 22 14:31:26 EDT 2009


#1342: range queries use lexical comparison, not numerical
--------------------------------+-------------------------------------------
    Reporter:  sascha_silbe     |          Owner:  sascha_silbe     
        Type:  defect           |         Status:  new              
    Priority:  Immediate        |      Milestone:  0.86             
   Component:  sugar-datastore  |        Version:  Git as of bugdate
    Severity:  Minor            |       Keywords:  r?               
Distribution:  Unspecified      |   Status_field:  Assigned         
--------------------------------+-------------------------------------------

Comment(by sascha_silbe):

 Replying to [comment:2 tomeu]:
 > I think we should be able to accept strings in properties['timestamp'].
 For that to work we need to add type information to _QUERY_VALUE_MAP (or
 special-case timestamp somewhere else in the code) so we know we need to
 convert the string to an integer first.

 I suggest moving this ticket to 0.88.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1342#comment:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list