Skip to content

Commit

Permalink
Show item details for containedIn regardless of type (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Jan 22, 2024
1 parent a69b8e2 commit 914e2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/details.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
}
<div class="row" id="search-results">
@defining((Lobid.items(doc.toString),Lobid.itemDetails(doc.toString))) { case (items, itemDetails) =>
@defining(!(doc\\"containedIn").isEmpty && (doc\"type").toString.contains("Article")){superordination =>
@defining(!(doc\\"containedIn").isEmpty){superordination =>
<div class="col-md-@if(items.isEmpty && !doc.toString.contains("fulltextOnline") && !superordination){12} else {8}">
<dl>
@defining(Lobid.shortId((doc\"id").asOpt[String].getOrElse(q))){ id =>
Expand Down

0 comments on commit 914e2e3

Please sign in to comment.