Skip to content

Fix NewsItem ordering to prioritize pinned items and sequence#5256

Merged
mauromsl merged 1 commit intomasterfrom
b-5253-fix-news-ordering
Apr 15, 2026
Merged

Fix NewsItem ordering to prioritize pinned items and sequence#5256
mauromsl merged 1 commit intomasterfrom
b-5253-fix-news-ordering

Conversation

@ajrbyers
Copy link
Copy Markdown
Member

@ajrbyers ajrbyers commented Apr 1, 2026

Closes #5253

…art_display (#5253)

Ordering was ("pinned", "-posted", "title") which had two bugs:
- pinned sorted ascending so pinned items sank to the bottom
- posted (creation timestamp) was used instead of start_display

New ordering: ("-pinned", "sequence", "-start_display", "title")
@mauromsl mauromsl requested a review from joemull April 15, 2026 07:24
@mauromsl mauromsl assigned joemull and unassigned mauromsl Apr 15, 2026
@joemull joemull assigned mauromsl and unassigned joemull Apr 15, 2026
@mauromsl mauromsl merged commit 2b1fca1 into master Apr 15, 2026
1 check passed
@mauromsl mauromsl deleted the b-5253-fix-news-ordering branch April 15, 2026 16:34
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.

"Sequence" field seemingly not working in News tool

3 participants