Customers index fix reset sort columns
This commit is contained in:
parent
20148d7bae
commit
468a984d37
2 changed files with 1 additions and 6 deletions
|
|
@ -71,6 +71,6 @@
|
|||
</th>
|
||||
<th scope="col">
|
||||
@if(session("crud.$modelTable.sort_way") and session("crud.$modelTable.sort_col"))
|
||||
<a href="{{ request()->fullUrlWithQuery(['rst' => 'true','sort_col' => null, 'sort_way' => null]) }}" class="btn btn-small btn-danger">⌫</a>
|
||||
<a href="{{ _genUrl(['rst' => 'true','sort_col' => null, 'sort_way' => null]) }}" class="btn btn-small btn-danger">⌫</a>
|
||||
@endif
|
||||
</th>
|
||||
|
|
|
|||
|
|
@ -43,11 +43,6 @@
|
|||
<thead class="thead-dark">
|
||||
<tr>
|
||||
@include('customer.index-tableHeaders')
|
||||
<th scope="col">
|
||||
@if(session("crud.$modelTable.sort_way") and session("crud.$modelTable.sort_col"))
|
||||
<a href="{{ request()->fullUrlWithQuery(['rst' => 'true', 'sort_col' => null, 'sort_way' => null]) }}" class="btn btn-small btn-danger">⌫</a>
|
||||
@endif
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue