From f0aa8f0dc300d090f2ce925ff45c02b2c9a53c8d Mon Sep 17 00:00:00 2001 From: Francesco Filicetti Date: Fri, 22 Nov 2024 09:46:45 +0100 Subject: [PATCH] fix: priority unuseful in get all tickets --- uniticket/uni_ticket/views/datatables.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uniticket/uni_ticket/views/datatables.py b/uniticket/uni_ticket/views/datatables.py index 4254c21..6446bdf 100644 --- a/uniticket/uni_ticket/views/datatables.py +++ b/uniticket/uni_ticket/views/datatables.py @@ -257,7 +257,8 @@ def manager_all_tickets(request, structure_slug, structure): :return: JsonResponse """ - tickets = TicketAssignment.get_ticket_per_structure(structure=structure) + tickets = TicketAssignment.get_ticket_per_structure(structure=structure, + priority_first=False) dtd = TicketDTD(request, tickets, _ticket_columns) return JsonResponse(dtd.get_dict())