Commit b584ef7b authored by webchick's avatar webchick

Issue #2087327 follow-up by tstoeckler: Fix the way views search filter is added.

parent 359ff60b
......@@ -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,
......
Markdown is supported
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