Commit fdddbf8c authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Fix output of extension result and activate extensions as facets

parent 295e4ead
Pipeline #10632 passed with stages
in 7 minutes and 17 seconds
......@@ -17,7 +17,7 @@ plugin.tx_solr {
search {
query {
allowedSites = __all
allowedSites = *
filter {
event = (+type:tx_sfeventmgt_domain_model_event +enddate_dateS:[NOW TO *]) OR (+type:* -type:tx_sfeventmgt_domain_model_event)
}
......@@ -51,6 +51,11 @@ plugin.tx_solr {
tx_sfeventmgt_domain_model_event {
value = Events
}
tx_terfe2_domain_model_extension = TEXT
tx_terfe2_domain_model_extension {
value = Extensions
}
}
}
}
......
......@@ -9,22 +9,10 @@
<div class="col-12 mt-3">
<div class="card">
<div class="card-horizontal" style="display: flex;">
<div class="img-square-wrapper">
<a href="{s:uri.result.addSearchWordList(url:document.url, searchWords:resultSet.usedQuery.keywords)}">
<f:if condition="{document.media_intM}">
<f:then>
<f:image src="{document.media_intM.0}" width="300" />
</f:then>
<f:else>
<f:image src="EXT:t3org_layout/Resources/Public/Images/NewsDefaultImages/News_Dummy.svg" width="300" />
</f:else>
</f:if>
</a>
</div>
<div class="card-body" style="display: block;">
<h4 class="card-title">
<a href="https://{document.site}/{url}">
{document.title} ({document.extensionKey_string_S})
{document.title} ({document.extensionKey_stringS})
</a>
</h4>
<p class="card-text">
......@@ -53,8 +41,8 @@
<a href="https://{document.site}/{url}" class="btn-primary">
Show extension details
</a>
<a href="https://{document.site}/{extensionDownloadZipUrl_stringS}" class="btn-primary">
Download ZIP of version {extensionVersion_stringS}
<a href="https://{document.site}/{document.extensionDownloadZipUrl_stringS}" class="btn-primary">
Download ZIP of version {document.extensionVersion_stringS}
</a>
<f:if condition="{document.hasManual_boolS}">
<a href="{document.extensionDocumentationLink_stringS}" class="btn-secondary">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment