From 478bb4027f8c120d58284e00669d8144387d78fd Mon Sep 17 00:00:00 2001 From: Arthur Date: Thu, 22 May 2025 14:32:02 -0700 Subject: [PATCH] #19561 fix changelog table on profile page --- netbox/account/views.py | 2 +- netbox/templates/account/profile.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/netbox/account/views.py b/netbox/account/views.py index a2f21b44e..c6138697e 100644 --- a/netbox/account/views.py +++ b/netbox/account/views.py @@ -195,7 +195,7 @@ class ProfileView(LoginRequiredMixin, View): user=request.user ).prefetch_related( 'changed_object_type' - )[:20] + ) changelog_table = ObjectChangeTable(changelog) changelog_table.configure(request) diff --git a/netbox/templates/account/profile.html b/netbox/templates/account/profile.html index 20f8ad537..4e005ae57 100644 --- a/netbox/templates/account/profile.html +++ b/netbox/templates/account/profile.html @@ -68,6 +68,7 @@

{% trans "Recent Activity" %}

{% render_table changelog_table 'inc/table.html' %} + {% include 'inc/paginator.html' with paginator=changelog_table.paginator page=changelog_table.page %}