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
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