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

Sorting by ascii value even for "count" type columns #6

Open
olof opened this issue Jan 21, 2013 · 1 comment
Open

Sorting by ascii value even for "count" type columns #6

olof opened this issue Jan 21, 2013 · 1 comment
Labels

Comments

@olof
Copy link
Contributor

olof commented Jan 21, 2013

In html_NG i noticed that, at least, some query types, like "top 1000 qnames" resulted in a nice table, but with the count sorted by the ascii values instead of its numerical values, as one would expect, e.g.: [1,2,22,3,4] instead of [1,2,3,4,22]. The sorting is performed in javascript, and that's pretty much magic to me :-).

@rickarddahlstrand
Copy link
Contributor

PacketQ is using Datatables for displaying data and a quick google on the issue turned up this bug.

http://datatables.net/forums/discussion/367/bug-sort-number-column-and-stype/p1

I don't have anyone with the right knowledge at the moment that can look at this, but there might be some tips in the thread above or somewhere else online. If you figure out a solution please let us know.

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

No branches or pull requests

2 participants