From c9695266194373342ce6094f0270b1de48186dce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Tue, 3 Sep 2024 09:52:17 +0200 Subject: [PATCH] =?UTF-8?q?Add=20fix=20for=20B=C3=A4nde=20and=20Enth=C3=A4?= =?UTF-8?q?lt=20from=20nwbib=20#1992?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/hbz/lobid-resources/issues/1992#issuecomment-2071660561 --- web/app/views/tags/result_doc.scala.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/web/app/views/tags/result_doc.scala.html b/web/app/views/tags/result_doc.scala.html index 6efe6c325..c184f2468 100644 --- a/web/app/views/tags/result_doc.scala.html +++ b/web/app/views/tags/result_doc.scala.html @@ -196,10 +196,9 @@ @result_field("Quelle", "bibliographicCitation", doc, TableRow.VALUES) @result_field("In", "containedIn", doc, TableRow.LINKS) - @lobid2_part_of("isPartOf", "hasSuperordinate") - @defining(lobidUrl(doc)){ id => - @subordinated("isPartOf.hasSuperordinate.id", id, "Bände", ("zugehöriger Band", "zugehörige Bände")) - @subordinated("containedIn.id", id, "Enthält", ("Beitrag", "Beiträge")) + @subordinateSearchFor(id: String) = { + @subordinate("isPartOf.hasSuperordinate.id", id, "Bände", ("zugehöriger Band", "zugehörige Bände")) + @subordinate("containedIn.id", id, "Enthält", ("Beitrag", "Beiträge")) }