Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.

Commit

Permalink
Fixed inverted sort caret when sorting columns
Browse files Browse the repository at this point in the history
  • Loading branch information
cyakimov committed Jan 27, 2016
1 parent 2478334 commit 35ca22f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions widgets/BsDataColumn.php
Expand Up @@ -39,9 +39,9 @@ protected function renderHeaderCellContent()

if (isset($sort->directions[$this->name])) {
if ($sort->directions[$this->name])
$label .= ' <span class="dropup"><span class="caret"></span></span>';
else
$label .= ' <span class="caret"></span>';
else
$label .= ' <span class="dropup"><span class="caret"></span></span>';
}

echo $sort->link($this->name, $label, array('class' => 'sort-link'));
Expand Down

0 comments on commit 35ca22f

Please sign in to comment.