Skip to content

Commit

Permalink
[K6.1] Not possible to search from categories in backend with search
Browse files Browse the repository at this point in the history
  • Loading branch information
xillibit committed Oct 2, 2023
1 parent af6b05e commit a5a840e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/admin/src/Model/CategoriesModel.php
Expand Up @@ -483,6 +483,9 @@ protected function populateState($ordering = 'a.lft', $direction = 'asc')
$value = 'desc';
}

$value = $this->getUserStateFromRequest($this->context . '.list.search', 'filter_search', 'search', 'cmd');
$this->setState('filter.search', $value);

$this->setState('list.direction', $value);

// List state information.
Expand Down

0 comments on commit a5a840e

Please sign in to comment.