Skip to content

Commit a980188

Browse files
committed
change tool filter to use profile user on profile template
1 parent 93b592c commit a980188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolhub_auth/templates/auth/profile.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</div>
1212
<h2>{{ profile_user }}</h2>
1313
<div class="my-2">
14-
<a href="{{ url('tools:home') }}?user={{request.user.pk}}" class="badge badge-primary">
14+
<a href="{{ url('tools:home') }}?user={{profile_user.pk}}" class="badge badge-primary">
1515
{% trans tool_count=profile_user.tools.visible_to_user(user).count() %}
1616
{{ tool_count }} Tools
1717
{% endtrans %}

0 commit comments

Comments
 (0)