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

dstore / sort Dates / null values / Bug ? #78

Closed
Jens-dojo opened this issue Dec 17, 2014 · 4 comments
Closed

dstore / sort Dates / null values / Bug ? #78

Jens-dojo opened this issue Dec 17, 2014 · 4 comments

Comments

@Jens-dojo
Copy link

Hello,

There seems to be a bug:

Memorystore with Date Object values.

If there are any NULL values in the store, the sort mechanism seems to stop at the first null value.
Only the rows before that null value get sorted correctly.

I attach a screen shot of a dgrid.

error

@redaktor
Copy link

@Jens-dojo Which browser did you use ?
Btw: You can write your own sort method for your store, it is a QueryMethod as in
https://github.com/SitePen/dstore/blob/master/Store.js
For documentation see
"Custom query methods" at the end of page
https://github.com/SitePen/dstore/blob/master/docs/Collection.md

@Jens-dojo
Copy link
Author

Firefox 32 on Linux.
There is no error message from the web browser console.

@kriszyp
Copy link
Member

kriszyp commented Dec 18, 2014

Good catch, thank you!

@Jens-dojo
Copy link
Author

Dear Kris,

now that was FAST !
Thank you.
Jens

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

2 participants