Skip to content

Commit 9804710

Browse files
authored
Merge pull request #167 from bkmakerspace/156-fix
FIX-156 change tool filter to use profile user on profile template
2 parents 93b592c + a980188 commit 9804710

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)