Skip to content

[5.x]: Entries sorting is messed up #17161

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

Closed
lucosius opened this issue Apr 23, 2025 · 1 comment
Closed

[5.x]: Entries sorting is messed up #17161

lucosius opened this issue Apr 23, 2025 · 1 comment
Labels

Comments

@lucosius
Copy link

What happened?

Description

I'm always sorting entries by post date with todays filter. Once results page is refreshed - it shows all entries instead of the ones from today.

URL looks like this:

articles?source=section:b5e9c3b0-c1e0-4c76-93f7-0300368a8606&condition[config]={"elementType":"craft\elements\Entry","fieldContext":"global"}&condition[conditionRules][1][uid]=fc75e082-998e-4acc-9fbc-0043d63a3925&condition[conditionRules][1][class]=craft\elements\conditions\entries\PostDateConditionRule&condition[conditionRules][1][type]={"class":"craft\elements\conditions\entries\PostDateConditionRule","uid":"fc75e082-998e-4acc-9fbc-0043d63a3925","rangeType":"today","periodType":"daysAgo","periodValue":null,"startDate":null,"endDate":null}&condition[conditionRules][1][operator]=&condition[conditionRules][1][rangeType]=today&condition[new-rule-type]=&filters=condition[class]=craft\elements\conditions\entries\EntryCondition

Craft CMS version

Craft CMS 5.7.2

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

Thanks for reporting that! Craft 4.15.2 and 5.7.3 are out with a fix.

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