Commit ae18c8fa authored by Dainis Abols's avatar Dainis Abols
Browse files

Changed search param

parent 1c31b146
...@@ -121,7 +121,11 @@ class SearchController extends ActionController ...@@ -121,7 +121,11 @@ class SearchController extends ActionController
{ {
// Pre-define variables // Pre-define variables
$data = []; $data = [];
$request = $_REQUEST;
if (empty($request['query'])) {
$request = $this->request->getArguments(); $request = $this->request->getArguments();
}
// Find pagetree if limit set // Find pagetree if limit set
if ($this->settings['limitToDomain']) { if ($this->settings['limitToDomain']) {
......
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
data-namespace-typo3-fluid="true"> data-namespace-typo3-fluid="true">
<form class="searchResults__inputGroup"> <form class="searchResults__inputGroup">
<button type="submit" name="tx_lusearch_pi1[submit]" title="{f:translate(key: 'form.submit')}"><i class="icon-lu-search-2"></i></button> <button type="submit" title="{f:translate(key: 'form.submit')}"><i class="icon-lu-search-2"></i></button>
<textarea autocomplete="off" autofocus <textarea autocomplete="off" autofocus
placeholder="{f:translate(key: 'form.placeholder')}" placeholder="{f:translate(key: 'form.placeholder')}"
aria-label="{f:translate(key: 'form.placeholder')}" aria-label="{f:translate(key: 'form.placeholder')}"
aria-describedby="basic-addon2" aria-describedby="basic-addon2"
name="tx_lusearch_pi1[query]" name="query"
id="searchResultsQuery" id="searchResultsQuery"
style="height: 35px;">{query}</textarea> style="height: 35px;">{query}</textarea>
</form> </form>
......
...@@ -9,7 +9,7 @@ $EM_CONF[$_EXTKEY] = [ ...@@ -9,7 +9,7 @@ $EM_CONF[$_EXTKEY] = [
'author_company' => 'University of Latvia', 'author_company' => 'University of Latvia',
'state' => 'stable', 'state' => 'stable',
'clearCacheOnLoad' => true, 'clearCacheOnLoad' => true,
'version' => '1.0.1', 'version' => '1.0.2',
'constraints' => [ 'constraints' => [
'depends' => [ 'depends' => [
'typo3' => '9.5.0-9.5.99', 'typo3' => '9.5.0-9.5.99',
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
## Version ## Version
1.0.1 1.0.2
## Dependencies ## Dependencies
......
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