mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-13 17:57:44 +02:00
* Fix a few indenting issues
* Fix #11: BUG Port number in POP3 isn't used * Fix #11: ENHANCEMENT Use SSL in POP3 and IMAP (requires database change)
This commit is contained in:
@ -32,13 +32,17 @@ def dashboard(request):
|
||||
with options for them to 'Take' ownership of said tickets.
|
||||
"""
|
||||
|
||||
tickets = Ticket.objects
|
||||
.filter(assigned_to=request.user)
|
||||
.exclude(status=Ticket.CLOSED_STATUS)
|
||||
tickets = Ticket.objects.filter(
|
||||
assigned_to=request.user,
|
||||
).exclude(
|
||||
status=Ticket.CLOSED_STATUS,
|
||||
)
|
||||
|
||||
unassigned_tickets = Ticket.objects
|
||||
.filter(assigned_to__isnull=True)
|
||||
.exclude(status=Ticket.CLOSED_STATUS)
|
||||
unassigned_tickets = Ticket.objects.filter(
|
||||
assigned_to__isnull=True,
|
||||
).exclude(
|
||||
status=Ticket.CLOSED_STATUS,
|
||||
)
|
||||
|
||||
# The following query builds a grid of queues & ticket statuses,
|
||||
# to be displayed to the user. EG:
|
||||
|
Reference in New Issue
Block a user