Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Open
LU Search
Commits
ae18c8fa
Commit
ae18c8fa
authored
Dec 17, 2020
by
Dainis Abols
Browse files
Changed search param
parent
1c31b146
Changes
4
Hide whitespace changes
Inline
Side-by-side
Classes/Controller/SearchController.php
View file @
ae18c8fa
...
@@ -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
Resources/Private/Partials/Search.html
View file @
ae18c8fa
...
@@ -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
ext_emconf.php
View file @
ae18c8fa
...
@@ -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'
,
...
...
readme.md
View file @
ae18c8fa
# 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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment