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

Merge branch 'fix-category-search-from-detail-view' into 'develop'

Fix category search from detail view

See merge request !111
parents e6b3fbae 760678f7
Pipeline #1709 passed with stages
in 4 minutes and 6 seconds
......@@ -116,6 +116,9 @@ plugin.tx_terfe2 {
# cat=TER Frontend/settings/5520; type=int+; label=Upload Version PID: PID of version upload view
uploadVersionPID = 10
# cat=TER Frontend/settings/5530; type=int+; label=Search Results PID: PID of search results page
searchResultsPid = 1
}
}
......
......@@ -55,6 +55,7 @@ plugin.tx_terfe2 {
extensionDetailPID = {$plugin.tx_terfe2.settings.pages.extensionDetailPID}
manageKeysPID = {$plugin.tx_terfe2.settings.pages.manageKeysPID}
uploadVersionPID = {$plugin.tx_terfe2.settings.pages.uploadVersionPID}
searchResultsPid = {$plugin.tx_terfe2.settings.pages.searchResultsPid}
}
}
......
......@@ -53,7 +53,7 @@
<h3>Tags</h3>
<p class="tags">
<f:for each="{extension.tags}" as="tag">
<f:link.page class="btn btn-info mb-1" additionalParams="{q: '{tag.title}'}">#{tag.title}</f:link.page>
<f:link.page class="btn btn-info mb-1" pageUid="{settings.pages.searchResultsPid}" additionalParams="{fq: 'keywords:{tag.title}'}">#{tag.title}</f:link.page>
</f:for>
</p>
</f:if>
......
Supports Markdown
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