diff --git a/web/app/views/tags/result_doc.scala.html b/web/app/views/tags/result_doc.scala.html index c91f67ff0..8d4a65de6 100644 --- a/web/app/views/tags/result_doc.scala.html +++ b/web/app/views/tags/result_doc.scala.html @@ -78,8 +78,10 @@ @with_icon(label: String, property: String, fullField: String) = { @if((doc\property).asOpt[JsValue].isDefined) { - @defining(if(property != "type") { nestedIds(property) } else { singleOrMultiString(property) }){ v => - @label @Lobid.facetLabel(v,fullField,"") + @defining((if(property != "type") { nestedIds(property) } else { singleOrMultiString(property) }).filter(v => v != "BibliographicResource")){ vs => + @for(v <- vs) { + @if(v==vs.head){@label} @Lobid.facetLabel(Seq(v),fullField,"") + } } } }