Skip to content

Commit

Permalink
[fix] pagination not working when filters is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Disaron committed Nov 18, 2015
1 parent 3aee886 commit 7bd23ff
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions administrator/components/com_users/models/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,22 +70,6 @@ protected function populateState($ordering = null, $direction = null)
$this->context .= '.' . $layout;
}

// Load the filter state.
$search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search');
$this->setState('filter.search', $search);

$active = $this->getUserStateFromRequest($this->context . '.filter.active', 'filter_active');
$this->setState('filter.active', $active);

$state = $this->getUserStateFromRequest($this->context . '.filter.state', 'filter_state');
$this->setState('filter.state', $state);

$groupId = $this->getUserStateFromRequest($this->context . '.filter.group_id', 'filter_group_id', null, 'int');
$this->setState('filter.group_id', $groupId);

$range = $this->getUserStateFromRequest($this->context . '.filter.range', 'filter_range');
$this->setState('filter.range', $range);

$groups = json_decode(base64_decode($app->input->get('groups', '', 'BASE64')));

if (isset($groups))
Expand Down

0 comments on commit 7bd23ff

Please sign in to comment.