You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed paginate because we now order groups by last_activity_date and not by id. This breaks old paginate implementation.
Update the query such it works again.
we have a list of groups order by actvity (for user 1):
id -> group name
4 -> group 4
3 -> group 3
1 -> group 1
2 -> group 2
paginateGroups(user: 1, limit: 2, lastId: null) shall return:
4 -> group 4
3 -> group 3
paginateGroups(user: 1, limit: 2, lastId: 3) shall return:
1 -> group 1
2 -> group 2
The text was updated successfully, but these errors were encountered:
plankes-projects
changed the title
get group pagination does not pageinate
get group pagination does not paginate anymore
Sep 25, 2020
GroupObjectDao::paginateGroups
Removed paginate because we now order groups by last_activity_date and not by id. This breaks old paginate implementation.
Update the query such it works again.
we have a list of groups order by actvity (for user 1):
id -> group name
4 -> group 4
3 -> group 3
1 -> group 1
2 -> group 2
paginateGroups(user: 1, limit: 2, lastId: null) shall return:
4 -> group 4
3 -> group 3
paginateGroups(user: 1, limit: 2, lastId: 3) shall return:
1 -> group 1
2 -> group 2
The text was updated successfully, but these errors were encountered: