6 lines
641 B
PHP
6 lines
641 B
PHP
@if(!session($list.'.sort_way') or session($list.'.sort_col') !== $colname or (session($list.'.sort_way') === 'desc' and session($list.'.sort_col') === $colname))
|
|
<a class="col_sort text-secondary asc" href="{{ route('bo.'.$list.'.index', ['sort_col' => $colname, 'sort_way' => 'asc']) }}"> ↓ </a>
|
|
@endif
|
|
@if(!session($list.'.sort_way') or session($list.'.sort_col') !== $colname or (session($list.'.sort_way') === 'asc' and session($list.'.sort_col') === $colname))
|
|
<a class="col_sort text-secondary desc" href="{{ route('bo.'.$list.'.index', ['sort_col' => $colname, 'sort_way' => 'desc']) }}"> ↑ </a>
|
|
@endif
|