Ticket.index default orderBy tickets.DESC
This commit is contained in:
parent
8727d5882d
commit
0b82f86295
1 changed files with 2 additions and 0 deletions
|
|
@ -93,6 +93,8 @@ class TicketController extends Controller
|
|||
Session::get('tickets.sort_col'),
|
||||
Session::get('tickets.sort_way')
|
||||
);
|
||||
} else {
|
||||
$tickets = $tickets->orderBy('id', 'DESC');
|
||||
}
|
||||
return $tickets;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue