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

Numerical Custom Field sorts Alphabetically #8

Closed
faddison opened this issue Aug 7, 2020 · 1 comment
Closed

Numerical Custom Field sorts Alphabetically #8

faddison opened this issue Aug 7, 2020 · 1 comment

Comments

@faddison
Copy link

faddison commented Aug 7, 2020

I have a numerical column for post "Views"

I expect the ascending order to be:

(Title, Views)
PostA 5
PostB 10
PostC 15
PostD 20

The actual ascending order is:

(Title, Views)
PostB 10
PostC 15
PostD 20
PostA 5

@fleiflei
Copy link
Owner

Hello @faddison,
this has been solved by now. Numeric fields are being sorted numerically since v0.2.0. Also I added a new filter "acf/admin_columns/sort_order_type" to overwrite the sort type for any column.

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