From c646dbf620489fdf4a3fff8efd00c117a45f635e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0est=C3=A1k=20V=C3=ADt?= Date: Fri, 31 Mar 2017 11:00:16 +0200 Subject: [PATCH] Added a quick workaround against multiplicities. --- app/views/libraryIdentificationList.scala.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/libraryIdentificationList.scala.html b/app/views/libraryIdentificationList.scala.html index 58ab835..c8acad4 100644 --- a/app/views/libraryIdentificationList.scala.html +++ b/app/views/libraryIdentificationList.scala.html @@ -10,11 +10,15 @@ // So, making the implicit explicit is a workaround for this issue. Ordering.Tuple4[Confidence.Value, String, String, String] } +@cleanIdentifiers(identifiers: Set[Identifier]) = @{ + if(addLink) identifiers + else identifiers.map(_.copy(url = "")) // Quick workaround for multiplicities caused by different URL +} \ No newline at end of file