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 = $this->request->getArguments(); $request = $_REQUEST;
if (empty($request['query'])) {
$request = $this->request->getArguments();
}
// Find pagetree if limit set // Find pagetree if limit set
if ($this->settings['limitToDomain']) { if ($this->settings['limitToDomain']) {
...@@ -569,4 +573,4 @@ class SearchController extends ActionController ...@@ -569,4 +573,4 @@ class SearchController extends ActionController
{ {
return 55699; return 55699;
} }
} }
\ No newline at end of file
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
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>
</html> </html>
\ No newline at end of file
...@@ -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',
......
# LU Search # LU Search
> LU General Search plugin with SOLR connector > LU General Search plugin with SOLR connector
## Version ## Version
1.0.1 1.0.2
## Dependencies ## Dependencies
* TYPO3 v9.5+ * TYPO3 v9.5+
* LU API v2.6+ * LU API v2.6+
* fluidtypo3/vhs * fluidtypo3/vhs
## Author ## Author
Dainis Abols <dainis.abols@lu.lv> Dainis Abols <dainis.abols@lu.lv>
......
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