Skip to content

refactor: extract events feed query from events controller into query object - #3035

Merged
mroderick merged 2 commits into
codebar:masterfrom
davidmillen50:2937-extract-events-list-query-out-of-events-controller
Oct 14, 2026
Merged

mroderick merged 2 commits into
codebar:masterfrom
davidmillen50:2937-extract-events-list-query-out-of-events-controller

Conversation

@davidmillen50

@davidmillen50 davidmillen50 commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor
  • Extract upcoming and past events queries into query object events_feed_query with the union logic moved to event_feed_union.

I manually checked upcoming and past events on page 1 and they looked exactly the same before and after the refactor. When logging the query output from the code and checking the result before and after the refactor the same 20 records for the first page appear in the same order and the same total (918) and page size (20) appears too.

@davidmillen50
davidmillen50 force-pushed the 2937-extract-events-list-query-out-of-events-controller branch from 98e1ff6 to 5584612 Compare October 14, 2026 15:11

@mroderick mroderick left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup!

@mroderick
mroderick merged commit dec59d6 into codebar:master Oct 14, 2026
11 checks passed
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.

2 participants