Skip to content

Fix Sorting Bug on Pages Tab#7

Open
adhami03 wants to merge 3 commits into
webino:developfrom
adhami03:master
Open

Fix Sorting Bug on Pages Tab#7
adhami03 wants to merge 3 commits into
webino:developfrom
adhami03:master

Conversation

@adhami03

@adhami03 adhami03 commented May 1, 2014

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.

2 participants