OrderTickets
This commit is contained in:
parent
044a5af2f7
commit
915d5e9854
|
@ -17,7 +17,7 @@ use App\Notifications\Ticket\User\ReplyNotification;
|
|||
class TicketsController extends Controller
|
||||
{
|
||||
public function index() {
|
||||
$tickets = Ticket::paginate(10);
|
||||
$tickets = Ticket::orderBy('id','desc')->paginate(10);
|
||||
$ticketcategories = TicketCategory::all();
|
||||
return view("moderator.ticket.index", compact("tickets", "ticketcategories"));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue