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

Fixes category search out of detail view

parent e6b3fbae
Pipeline #1694 passed with stages
in 2 minutes and 52 seconds
...@@ -116,6 +116,9 @@ plugin.tx_terfe2 { ...@@ -116,6 +116,9 @@ plugin.tx_terfe2 {
# cat=TER Frontend/settings/5520; type=int+; label=Upload Version PID: PID of version upload view # cat=TER Frontend/settings/5520; type=int+; label=Upload Version PID: PID of version upload view
uploadVersionPID = 10 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 { ...@@ -55,6 +55,7 @@ plugin.tx_terfe2 {
extensionDetailPID = {$plugin.tx_terfe2.settings.pages.extensionDetailPID} extensionDetailPID = {$plugin.tx_terfe2.settings.pages.extensionDetailPID}
manageKeysPID = {$plugin.tx_terfe2.settings.pages.manageKeysPID} manageKeysPID = {$plugin.tx_terfe2.settings.pages.manageKeysPID}
uploadVersionPID = {$plugin.tx_terfe2.settings.pages.uploadVersionPID} uploadVersionPID = {$plugin.tx_terfe2.settings.pages.uploadVersionPID}
searchResultsPid = {$plugin.tx_terfe2.settings.pages.searchResultsPid}
} }
} }
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<h3>Tags</h3> <h3>Tags</h3>
<p class="tags"> <p class="tags">
<f:for each="{extension.tags}" as="tag"> <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="{q: 'keywords:{tag.title}'}">#{tag.title}</f:link.page>
</f:for> </f:for>
</p> </p>
</f:if> </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