Updated report_index() to remove the context= so it matches the syntax of dashboard() function.

This commit is contained in:
Garret Wassermann 2016-09-13 00:31:56 -04:00
parent bf55ab7f8c
commit 6a86a0106a

View File

@ -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,