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

Pagination for Upcoming Events list #579

Open
joedolson opened this issue Dec 11, 2023 · 1 comment
Open

Pagination for Upcoming Events list #579

joedolson opened this issue Dec 11, 2023 · 1 comment
Milestone

Comments

@joedolson
Copy link
Owner

It would be nice to be able to have some kind of pagination on the upcoming events list. Even just a 'load more' would be something.

The DB query to make that happen is pretty ugly, but should be doable.

Current query is related to current date. Moving to a new page means re-centering right after the last event displayed, setting 'before' to 0 and setting 'after' to $before + $after.

Slating for 3.5, but with a very realistic idea that it might be punted.

@joedolson joedolson added this to the 3.5.0 milestone Dec 11, 2023
@joedolson joedolson modified the milestones: 3.5.0, 3.6.0 Mar 5, 2024
@joedolson
Copy link
Owner Author

I think that a better path might be a completely new upcoming events widget that has a simpler logic. But I think it's too late for me to try and shoehorn this into 3.5; moving to 3.6.

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

2 participants
@joedolson and others