Skip to content
This repository has been archived by the owner on Aug 26, 2019. It is now read-only.

Commit

Permalink
fixed wrong config use for sort icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur LORENT committed Nov 10, 2017
1 parent 6e472b2 commit ba8a867
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions views/thead.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@
title="{{ $column->title }}"
class="sort {{ config('tablelist.template.indicator.sort.class') }}">
@if($table->request->sortBy === $column->attribute && $table->request->sortDir === 'asc')
{!! config('tablelist.template.indicator.icon.asc') !!}
{!! config('tablelist.template.indicator.sort.icon.asc') !!}
@elseif($table->request->sortBy === $column->attribute && $table->request->sortDir === 'desc')
{!! config('tablelist.template.indicator.icon.desc') !!}
{!! config('tablelist.template.indicator.sort.icon.desc') !!}
@else
{!! config('tablelist.template.indicator.icon.unsorted') !!}
{!! config('tablelist.template.indicator.sort.icon.unsorted') !!}
@endif
<span>
&nbsp{!! str_replace(' ', '&nbsp;', $column->title) !!}
Expand Down

0 comments on commit ba8a867

Please sign in to comment.