Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Function orderBy cannot deal number type #42

Closed
laughwong opened this issue Jun 12, 2021 · 2 comments
Closed

Bug: Function orderBy cannot deal number type #42

laughwong opened this issue Jun 12, 2021 · 2 comments

Comments

@laughwong
Copy link

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.

@RajvirSingh1313
Copy link

Same Problem Here

@samuk190
Copy link
Owner

Is it solved? if not, please open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants