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: force default ordering order #1326

Merged
merged 2 commits into from
Feb 12, 2025

Conversation

sebastianthulin
Copy link
Member

This pull request includes a small but important change to the addOrderByFallback function in the library/Theme/Archive.php file. The change ensures that the 'ID' field is always sorted in ascending order when added to the $orderBy array.

  • library/Theme/Archive.php: Modified the addOrderByFallback function to set 'ID' to 'ASC' when it is added to the $orderBy array.

@sebastianthulin sebastianthulin merged commit 0213c3c into main Feb 12, 2025
7 of 9 checks passed
@sebastianthulin sebastianthulin deleted the fix/force-default-ordering-order branch February 12, 2025 09:16
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.

1 participant