6 lines
503 B
PHP
6 lines
503 B
PHP
@if(!request('sort_way') or request('sort_col') !== $colname or (request('sort_way') === 'desc' and request('sort_col') === $colname))
|
|
<a class="col_sort asc" href="{{ route('home', ['sort_col' => $colname, 'sort_way' => 'asc']) }}">↓</a>
|
|
@endif
|
|
@if(!request('sort_way') or request('sort_col') !== $colname or (request('sort_way') === 'asc' and request('sort_col') === $colname))
|
|
<a class="col_sort desc" href="{{ route('home', ['sort_col' => $colname, 'sort_way' => 'desc']) }}">↑</a>
|
|
@endif
|