Skip to content

Commit

Permalink
Filter 'Systematik' subjects for 'Schlagwörter' display
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Nov 27, 2024
1 parent c562904 commit 7ea887c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/tags/result_doc.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
@raumsystematik("https://rpb.lobid.org/spatial")
@sachsystematik("http://purl.org/lobid/rpb")

@subjects((doc \ "subject").asOpt[Seq[JsValue]].getOrElse(Seq()))
@subjects((doc \ "subject").asOpt[Seq[JsValue]].getOrElse(Seq()).filter(v => !(v \ "source").toString.contains("Systematik")))

@result_field("Schlagwortfolge", "subjectChain", doc, TableRow.VALUES, valueLabel = Option(Seq()))

Expand Down

0 comments on commit 7ea887c

Please sign in to comment.