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

Changed search param

parent c077027b
......@@ -124,7 +124,11 @@ class SearchController extends ActionController
public function listAction()
{
// Pre-define variables
$request = $this->request->getArguments();
$request = $_REQUEST;
if (empty($request['query'])) {
$request = $this->request->getArguments();
}
$cacheHelper = new CacheHelper();
// Generate letter list
......@@ -139,7 +143,7 @@ class SearchController extends ActionController
// Get current page @FIXME There has to be a better way!
$this->currentPage = !empty($request['@widget_0']['currentPage']) ? (int)$request['@widget_0']['currentPage'] : 1;
$cleanQuery = strip_tags($request['query'] ?? ($_REQUEST['tx_lusearch_pi1']['query'] ?? ''));
$cleanQuery = strip_tags($request['query']);
// Fetch data from SOLR
if (!empty($cleanQuery)) {
......
{
"name": "luitd/lu-names",
"version": "1.0.8",
"version": "1.0.9",
"description": "Jews in Latvia names database extension for TYPO3",
"type": "typo3-cms-extension",
"keywords": [
......
......@@ -9,7 +9,7 @@ $EM_CONF[$_EXTKEY] = [
'author_email' => 'lauris.karklis@lu.lv, dainis.abols@lu.lv',
'state' => 'stable',
'clearCacheOnLoad' => true,
'version' => '1.0.8',
'version' => '1.0.9',
'constraints' => [
'depends' => [
'typo3' => '9.5.0-9.9.99',
......
No preview for this file type
......@@ -4,7 +4,7 @@ Jews in Latvia names database extension for TYPO3TYPO3 Extension for Regulations
## Version
1.0.8
1.0.9
## Dependecies
......
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