mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 01:13:31 +01:00
DUPLICATE_STATUS Tickets moved to closed & resolved ones
This commit is contained in:
parent
6c8a6eaee1
commit
a7b3177944
@ -142,7 +142,7 @@ def dashboard(request):
|
|||||||
|
|
||||||
huser = HelpdeskUser(request.user)
|
huser = HelpdeskUser(request.user)
|
||||||
active_tickets = Ticket.objects.select_related('queue').exclude(
|
active_tickets = Ticket.objects.select_related('queue').exclude(
|
||||||
status__in=[Ticket.CLOSED_STATUS, Ticket.RESOLVED_STATUS],
|
status__in=[Ticket.CLOSED_STATUS, Ticket.RESOLVED_STATUS, Ticket.DUPLICATE_STATUS],
|
||||||
)
|
)
|
||||||
|
|
||||||
# open & reopened tickets, assigned to current user
|
# open & reopened tickets, assigned to current user
|
||||||
@ -153,7 +153,7 @@ def dashboard(request):
|
|||||||
# closed & resolved tickets, assigned to current user
|
# closed & resolved tickets, assigned to current user
|
||||||
tickets_closed_resolved = Ticket.objects.select_related('queue').filter(
|
tickets_closed_resolved = Ticket.objects.select_related('queue').filter(
|
||||||
assigned_to=request.user,
|
assigned_to=request.user,
|
||||||
status__in=[Ticket.CLOSED_STATUS, Ticket.RESOLVED_STATUS]
|
status__in=[Ticket.CLOSED_STATUS, Ticket.RESOLVED_STATUS, Ticket.DUPLICATE_STATUS]
|
||||||
)
|
)
|
||||||
|
|
||||||
user_queues = huser.get_queues()
|
user_queues = huser.get_queues()
|
||||||
|
Loading…
Reference in New Issue
Block a user