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

Updating to Carbon Fields 3.6.5 changes the sort order of associated posts #1255

Open
natecovington opened this issue Sep 19, 2024 · 0 comments

Comments

@natecovington
Copy link

Version

  • Carbon Fields: 3.6.5 (3.6.3 works fine)
  • WordPress: 6.2
  • PHP: 7.4

Expected Behavior

I expect to run this:
composer require htmlburger/carbon-fields:3.6.5

And the posts that are listed out in my "Edit Post" screen, where it Carbon Fields is referencing other posts (via association)... it should continue sorting them how they are, most recent first.

Actual Behavior

When I update to Carbon Fields 3.6.5, the posts are sorted alphabetically, by post title. This puts all the posts with quotes and other symbols first, rather than most recent first, which is how it functions with 3.6.3

Container definition

composer require htmlburger/carbon-fields:3.6.3 
composer require htmlburger/carbon-pagination:1.1.6
composer require htmlburger/carbon-common:1.3.2
composer require iamntz/carbon-fields-urlpicker:3.0.10

Thanks in advance!
-Nate

@natecovington natecovington changed the title Updating to Carbon Fields 3.6.5 changes the sort order of posts Updating to Carbon Fields 3.6.5 changes the sort order of associated posts Sep 19, 2024
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

1 participant