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
Show 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
=
$_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'
])
{
...
...
Resources/Private/Partials/Search.html
View file @
ae18c8fa
...
@@ -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>
...
...
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
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
## Version
## Version
1.
0.
1
1.
0.
2
## Dependencies
## Dependencies
...
...
Write
Preview
Markdown
is supported
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