Skip to content

Commit

Permalink
sorting arrow
Browse files Browse the repository at this point in the history
fix sorting arrow
  • Loading branch information
alikon committed Mar 24, 2017
1 parent aa6d380 commit 7df059b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
$userId = $user->get('id');
$context = $this->escape($this->state->get('filter.context'));
$component = $this->state->get('filter.component');
$listOrder = $this->escape($this->state->get('list.fullordering'));
$listOrder = str_replace(' ' . $this->state->get('list.direction'), '', $this->state->get('list.fullordering'));
$listDirn = $this->escape($this->state->get('list.direction'));
$ordering = ($listOrder == 'a.ordering');
$saveOrder = ($listOrder == 'a.ordering' && strtolower($listDirn) == 'asc');
Expand Down

0 comments on commit 7df059b

Please sign in to comment.