Skip to content

Commit

Permalink
Add rpb.lobid.org IDs to subordinate search (RPB-239)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Jan 21, 2025
1 parent 926cee4 commit a0e7569
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/tags/result_doc.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@
@labelled("In", "containedIn")

@part_of("isPartOf", "hasSuperordinate")
@subordinateSearchFor(String.format("http://rpb.lobid.org/%s", (doc \ "rpbId").asOpt[String].getOrElse("")))
@subordinateSearchFor(String.format("http://lobid.org/resources/%s#!", (doc \ "hbzId").asOpt[String].getOrElse("")))
@subordinateSearchFor(String.format("https://lobid.org/resources/%s", (doc \ "rpbId").asOpt[String].getOrElse("")))
@subordinateSearchFor(String.format("http://lobid.org/resources/"+ZDB_PREFIX+"%s#!", (doc \ "zdbId").asOpt[String].getOrElse("")))
Expand Down

0 comments on commit a0e7569

Please sign in to comment.