Skip to content

Commit

Permalink
Merge pull request #2 from twoldanski/FIX/document-template
Browse files Browse the repository at this point in the history
[BUGFIX] fix default document template
  • Loading branch information
lukaszuznanski authored Jul 30, 2020
2 parents dca0bca + ec1f13c commit 9713769
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions Resources/Private/Solr/Partials/Result/Document.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,19 @@
typeNum: searchResult.fields.typeNum,
site: searchResult.fields.site,
type: searchResult.fields.type,
searchType: searchResult.searchType_stringS,
title: searchResult.fields.title,
titleExact: searchResult.fields.titleExact,
subTitle: searchResult.fields.subTitle,
navTitle: searchResult.fields.navTitle,
author: searchResult.fields.author,
content: searchResult.fields.content,
contentExact: searchResult.fields.contentExact,
teaser: searchResult.fields.teaser,
form: searchResult.fields.form_textExactS,
ingredients: searchResult.fields.ingredients_textExactS,
dosing: searchResult.fields.dosing_textExactS,
responsible: searchResult.fields.responsible_textExactS,
warnings: searchResult.fields.warnings_textExactS,
purpose: searchResult.fields.purpose_textExactS,
url: '{searchResult.fields.url -> headless:format.json.decode()}',
image: '{searchResult.fields.image_stringM.0 -> headless:format.json.decode()}'
url: '{searchResult.fields.url -> headless:format.json.decode()}'
}"/>
</f:format.raw>
{f:if(condition: iterator.isLast, else: ',')}
</f:for>]}
</s:widget.resultPaginate>}
</f:if>
</f:spaceless>
</f:section>
</f:section>

0 comments on commit 9713769

Please sign in to comment.