summaryrefslogtreecommitdiffstats
path: root/web_src/js/components
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2023-02-24 22:15:10 +0100
committerGitHub <noreply@github.com>2023-02-24 16:15:10 -0500
commitf4920c9c7f5947d3b6476610f39bc3492ab4ef3b (patch)
tree36a4063c1ec25766808a73a2190a50cf13a7b18d /web_src/js/components
parent740a5ecdd925aec8dcea3e73da07868f70cdacac (diff)
downloadgitea-f4920c9c7f5947d3b6476610f39bc3492ab4ef3b.tar.gz
gitea-f4920c9c7f5947d3b6476610f39bc3492ab4ef3b.zip
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.
Diffstat (limited to 'web_src/js/components')
-rw-r--r--web_src/js/components/ActivityHeatmap.vue2
1 files changed, 2 insertions, 0 deletions
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}` : '';
}