Skip to content

Commit

Permalink
Include section branding in pressed content
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-chappell committed Nov 11, 2016
1 parent 85fa475 commit 5859dba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions facia-press/app/frontpress/FapiFrontPress.scala
Expand Up @@ -101,13 +101,15 @@ trait FapiFrontPress extends Logging with ExecutionContexts {
val showFields = "body,trailText,headline,shortUrl,liveBloggingNow,thumbnail,commentable,commentCloseDate,shouldHideAdverts,lastModified,byline,standfirst,starRating,showInRelatedContent,internalPageCode"
val searchApiQuery: AdjustSearchQuery = (searchQuery: SearchQuery) =>
searchQuery
.showSection(true)
.showFields(showFields)
.showElements("all")
.showTags("all")
.showReferences(QueryDefaults.references)

val itemApiQuery: AdjustItemQuery = (itemQuery: ItemQuery) =>
itemQuery
.showSection(true)
.showFields(showFields)
.showElements("all")
.showTags("all")
Expand Down

0 comments on commit 5859dba

Please sign in to comment.