|
@@ -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"));
|
|
|
}
|