From f4920c9c7f5947d3b6476610f39bc3492ab4ef3b Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 24 Feb 2023 22:15:10 +0100 Subject: Add pagination for dashboard and user activity feeds (#22937) Previously only the last few activities where available. This works for all activity and for activity on a date chosen on the heatmap. --- web_src/js/components/ActivityHeatmap.vue | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web_src') diff --git a/web_src/js/components/ActivityHeatmap.vue b/web_src/js/components/ActivityHeatmap.vue index d0f81c586c..98ffce44b5 100644 --- a/web_src/js/components/ActivityHeatmap.vue +++ b/web_src/js/components/ActivityHeatmap.vue @@ -70,6 +70,8 @@ export default { params.set('date', clickedDate); } + params.delete('page'); + const newSearch = params.toString(); window.location.search = newSearch.length ? `?${newSearch}` : ''; } -- cgit v1.2.3