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

Fix Sorting Bug on Pages Tab #7

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Conversation

adhami03
Copy link
Contributor

@adhami03 adhami03 commented May 1, 2014

The counts in the pages column on the Pages tab formats the counts with commas. This was breaking sorting because it appeared to be doing a text sort. This fixes the sort by stripping the commas from the data for sorting.

@bacinsky
Copy link
Member

First of all, thank you for your work.

I tried your PR and I get an error:

Uncaught TypeError: Cannot read property '0' of undefined jawstats_web.js:104

So the sorting won't work anymore. And I cant reproduce your issue, sorting looks fine. Even on the This month card pages, sorting works as expected. Please can you give some more info?

The contribution best practices are to make a PR's from the branch feature/your-feature-name for a new features, fix/fix-develop or hotfix/fix-master for fixes, or at least from a develop branch to develop branch.

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

Successfully merging this pull request may close these issues.

None yet

2 participants