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

Remove rest of page limit #5429

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Remove rest of page limit #5429

wants to merge 8 commits into from

Conversation

dessalines
Copy link
Member

@dessalines dessalines commented Feb 14, 2025

WIP

#4517

Copy link
Collaborator

Choose a reason for hiding this comment

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

Missing limit here

@@ -164,10 +165,18 @@ impl CommunityFollowerView {
query =
query.filter(community_actions::follow_state.eq(CommunityFollowerState::ApprovalRequired));
}
// TODO is this correct?
query = query.order_by(community_actions::followed.asc());
Copy link
Collaborator

Choose a reason for hiding this comment

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

Doing any sorting before paginatedquerybuilder::new is not allowed

Copy link
Member Author

Choose a reason for hiding this comment

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

Thx. Once the aggregates stuff is merged, I'll resume this.

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