diff --git a/.DS_Store b/.DS_Store index 4aa35010..f9c1890a 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/osinaweb/.DS_Store b/osinaweb/.DS_Store index 871bb271..f9f05de7 100644 Binary files a/osinaweb/.DS_Store and b/osinaweb/.DS_Store differ diff --git a/osinaweb/billing/add/__pycache__/views.cpython-310.pyc b/osinaweb/billing/add/__pycache__/views.cpython-310.pyc index 43311365..acf1d36d 100644 Binary files a/osinaweb/billing/add/__pycache__/views.cpython-310.pyc and b/osinaweb/billing/add/__pycache__/views.cpython-310.pyc differ diff --git a/osinaweb/db.sqlite3 b/osinaweb/db.sqlite3 index 891e4d32..5a6e033e 100644 Binary files a/osinaweb/db.sqlite3 and b/osinaweb/db.sqlite3 differ diff --git a/osinaweb/osinacore/__pycache__/urls.cpython-310.pyc b/osinaweb/osinacore/__pycache__/urls.cpython-310.pyc index 82c037ce..04749925 100644 Binary files a/osinaweb/osinacore/__pycache__/urls.cpython-310.pyc and b/osinaweb/osinacore/__pycache__/urls.cpython-310.pyc differ diff --git a/osinaweb/osinacore/__pycache__/views.cpython-310.pyc b/osinaweb/osinacore/__pycache__/views.cpython-310.pyc index 447d8b0f..81f6cc75 100644 Binary files a/osinaweb/osinacore/__pycache__/views.cpython-310.pyc and b/osinaweb/osinacore/__pycache__/views.cpython-310.pyc differ diff --git a/osinaweb/osinacore/views.py b/osinaweb/osinacore/views.py index 51044ff4..3d75184e 100644 --- a/osinaweb/osinacore/views.py +++ b/osinaweb/osinacore/views.py @@ -386,8 +386,7 @@ def tickets(request, *args, **kwargs): # If no status is found, assume it's open open_tickets.append(ticket) else: - staff_department = request.user.staffprofile.staff_position.department - all_tickets = Ticket.objects.filter(departments=request.user.staffprofile.staff_position.department) + all_tickets = Ticket.objects.all() all_tickets_with_update_date = all_tickets.annotate( latest_update_date=Max('ticketupdate__date_added')) all_tickets_ordered = all_tickets_with_update_date.order_by('-latest_update_date')