From a5dbdc89caea0fb88eac6b772a3b3cae9fb95898 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com>
Date: Mon, 18 Mar 2024 16:34:22 +0100
Subject: [PATCH] FIX: References button for string ids

---
 src/core/xsl/entity.xsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/xsl/entity.xsl b/src/core/xsl/entity.xsl
index 533b09ab..4d14262a 100644
--- a/src/core/xsl/entity.xsl
+++ b/src/core/xsl/entity.xsl
@@ -52,7 +52,7 @@
   <xsl:template match="@id" mode="backreference-link">
     <a class="caosdb-backref-link btn caosdb-id-button" title="Find all entities which reference this one.">
       <xsl:attribute name="href">
-        <xsl:value-of select="concat($entitypath, '?P=0L10&amp;query=FIND+Entity+which+references+', current())"/>
+        <xsl:value-of select="concat($entitypath, '?P=0L10&amp;query=FIND+Entity+which+references+%22', current(), '%22')"/>
       </xsl:attribute>
       <span class="bg-dark badge d-none d-sm-inline">
         <i class="bi-link"></i> References
-- 
GitLab