From 6a86a0106aee5573082892fdff2adaf011cd18a8 Mon Sep 17 00:00:00 2001 From: Garret Wassermann Date: Tue, 13 Sep 2016 00:31:56 -0400 Subject: [PATCH] Updated report_index() to remove the context= so it matches the syntax of dashboard() function. --- helpdesk/views/staff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpdesk/views/staff.py b/helpdesk/views/staff.py index 8d9f715e..7ea2f56e 100644 --- a/helpdesk/views/staff.py +++ b/helpdesk/views/staff.py @@ -1013,8 +1013,8 @@ def report_index(request): dash_tickets = query_to_dict(cursor.fetchall(), cursor.description) - return render(request, template_name='helpdesk/report_index.html', - context = { + return render(request, 'helpdesk/report_index.html', + { 'number_tickets': number_tickets, 'saved_query': saved_query, 'basic_ticket_stats': basic_ticket_stats,