This fixes an issue where the paginator skips over the last activities under certain circumstances when the row count is close to the per-page limit.
I've also included bee2bb527a1db2979f4faebb227667df2d28b7c7, which is a minor change that enforces consistent activity_id-based sorting on top of existing ORDER BY options that effectively falls back on the INSERT order for activities with the same activity_date_time.
This fixes an issue where the paginator skips over the last activities under certain circumstances when the row count is close to the per-page limit.
I've also included bee2bb527a1db2979f4faebb227667df2d28b7c7, which is a minor change that enforces consistent
activity_id
-based sorting on top of existingORDER BY
options that effectively falls back on theINSERT
order for activities with the sameactivity_date_time
.