Commit 752a2840 authored by Thomas Löffler's avatar Thomas Löffler

Uses tx_solr[q] instead of only q parameter

parent 64789689
Pipeline #1984 passed with stages
in 1 minute and 28 seconds
......@@ -203,7 +203,7 @@ plugin {
}
}
[globalVar = GP:q =]
[globalVar = GP:tx_solr|q =]
[else]
plugin.tx_solr.search.query.sortBy =
......
......@@ -16,6 +16,7 @@ plugin.tx_solr {
}
plugin.tx_solr.search {
ignoreGlobalQParameter = 1
query {
allowEmptyQuery = 1
}
......
......@@ -10,7 +10,7 @@
<input type="hidden" name="L" value="{languageUid}" />
<input type="hidden" name="id" value="{pageUid}" />
<div class="input-group input-group-lg">
<input type="text" class="form-control" placeholder="Search for extensions, tags, author..." name="q" value="{q}">
<input type="text" class="form-control" placeholder="Search for extensions, tags, author..." name="tx_solr[q]" value="{q}">
<span class="input-group-btn">
<button type="submit" class="btn btn-primary" type="button"><s:translate key="submit" default="Search" /></button>
</span>
......
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