diff --git a/app/Http/Controllers/TicketController.php b/app/Http/Controllers/TicketController.php index d9fc380..31604c4 100644 --- a/app/Http/Controllers/TicketController.php +++ b/app/Http/Controllers/TicketController.php @@ -88,7 +88,7 @@ class TicketController extends Controller Session::has('tickets.sort_col') and Session::has('tickets.sort_way') and in_array(Session::get('tickets.sort_col'), [ - 'id', 'project', 'created_at', 'created_by', + 'id', 'project_id', 'created_at', 'created_by', 'type', 'status' ]) ) { diff --git a/resources/views/ticket/index.blade.php b/resources/views/ticket/index.blade.php index 157e169..9147650 100644 --- a/resources/views/ticket/index.blade.php +++ b/resources/views/ticket/index.blade.php @@ -55,7 +55,7 @@ $userPr = Auth::user()->projects ?? collect([]);