diff --git a/common/app/model/PressedPage.scala b/common/app/model/PressedPage.scala index 2ecc49078ec..cbbcb1e7e82 100644 --- a/common/app/model/PressedPage.scala +++ b/common/app/model/PressedPage.scala @@ -134,8 +134,12 @@ case class PressedPage( item <- pressedCollection.curatedPlusBackfillDeduplicated id <- { item match { - case curatedContent: CuratedContent => - curatedContent.content.sectionId ++ curatedContent.content.tags.map(_.id) + case curatedContent: pressed.CuratedContent => { + curatedContent.properties.maybeContent match { + case Some(content) => content.metadata.sectionId.map(_.value) ++ content.tags.tags.map(_.id) + case None => List.empty + } + } case _ => Nil } }