Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
b584ef7b
Commit
b584ef7b
authored
Sep 25, 2013
by
webchick
Browse files
Issue
#2087327
follow-up by tstoeckler: Fix the way views search filter is added.
parent
359ff60b
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/views_ui/lib/Drupal/views_ui/ViewListController.php
View file @
b584ef7b
...
...
@@ -190,7 +190,14 @@ public function render() {
$list
[
'#attached'
][
'library'
][]
=
array
(
'system'
,
'drupal.ajax'
);
$list
[
'#attached'
][
'library'
][]
=
array
(
'views_ui'
,
'views_ui.listing'
);
$list
[
'search'
]
=
array
(
$form
[
'filters'
]
=
array
(
'#type'
=>
'container'
,
'#attributes'
=>
array
(
'class'
=>
array
(
'table-filter'
,
'js-show'
),
),
);
$list
[
'filters'
][
'text'
]
=
array
(
'#type'
=>
'search'
,
'#title'
=>
$this
->
t
(
'Search'
),
'#size'
=>
30
,
...
...
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