From 28d5b6d48e03a4fe9c448a040d7e36fbe5ee4e39 Mon Sep 17 00:00:00 2001
From: Thorge Petersen <petersen@rz.uni-kiel.de>
Date: Mon, 21 Aug 2023 10:40:04 +0200
Subject: [PATCH] Fixed view profile link id

---
 ckanext/odsh/templates/header.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ckanext/odsh/templates/header.html b/ckanext/odsh/templates/header.html
index c3bf96bc..7694a4b5 100644
--- a/ckanext/odsh/templates/header.html
+++ b/ckanext/odsh/templates/header.html
@@ -77,7 +77,7 @@
                   <circle cx="27" cy="17" r="7.5" />
                   <path d="M42.5,44.5h-31v-6.4c0-4.7,3.9-8.6,8.6-8.6h13.9c4.7,0,8.6,3.9,8.6,8.6V44.5z" />
                 </svg>
-                <a href="{{ h.url_for('user.read', id=c.userobj.display_name) }}" aria-label="{{ _('View profile') }}" title="{{ _('View profile') }}" role="menuitem">
+                <a href="{{ h.url_for('user.read', id=c.userobj.name) }}" aria-label="{{ _('View profile') }}" title="{{ _('View profile') }}" role="menuitem">
                   <span class="text">
                     {{ _('View profile') }}
                   </span>
-- 
GitLab