mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -05:00
Use false instead of 'false' to disable the sort col
This commit is contained in:
parent
b4523938f5
commit
2819ed5582
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@
|
|||
@endsection
|
||||
|
||||
@section('dashboard-body')
|
||||
@set('sort_data', $sortcol != 'false' ? "data-sort=$sortcol" : '')
|
||||
@set('sort_icon', $sortcol != 'false' ? '<i class="fa fa-bars sort-icon" title="Click and drag to reorder"></i>' : '')
|
||||
@set('sort_data', $sortcol != false ? "data-sort=$sortcol" : '')
|
||||
@set('sort_icon', $sortcol != false ? '<i class="fa fa-bars sort-icon" title="Click and drag to reorder"></i>' : '')
|
||||
|
||||
<ul id="edit-list" class="list-group edit-list" data-model="{{ $model }}" {{ $sort_data }}>
|
||||
<input type="hidden" name="_token" id="token" value="{{ csrf_token() }}" />
|
||||
|
|
Loading…
Reference in a new issue