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