#19561 fix changelog table on profile page

This commit is contained in:
Arthur 2025-05-22 14:32:02 -07:00
parent 2804359cdd
commit 478bb4027f
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -68,6 +68,7 @@
<h2 class="card-header text-center">{% trans "Recent Activity" %}</h2>
<div class="table-responsive">
{% render_table changelog_table 'inc/table.html' %}
{% include 'inc/paginator.html' with paginator=changelog_table.paginator page=changelog_table.page %}
</div>
</div>
</div>