dannyconnell / localbase

A Firebase-Style Database ... Offline!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Function orderBy cannot deal number type

laughwong opened this issue · comments

commented

I use this function:

orderBy('count','desc')

but i get this:

{name:"x1",count:2} {name:"x2",count:12} {name:"x3",count:13}

that means, the function "orderBy" is not deal count field as a number.
so I check the code in "get.js" line 36 and line 41, I know why it can't work correct.

Wish you fix it, this library really help me a lot, thanks.

Same Problem Here