Pass conference to reports template
authorMagnus Hagander <magnus@hagander.net>
Wed, 9 May 2018 12:06:49 +0000 (14:06 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 9 May 2018 12:06:49 +0000 (14:06 +0200)
This fixes missing breadcrumbs in backend interface.

postgresqleu/confreg/views.py

index 8be27d31c863b04a0f3b39358a9711559c9fc048..fcc9c1b40860b68220378a2016459aecb13342f0 100644 (file)
@@ -2321,6 +2321,7 @@ def reports(request, confname):
        # Include information for the advanced reports
        from reports import attendee_report_fields, attendee_report_filters
        return render(request, 'confreg/reports.html', {
+                       'conference': conference,
                        'list': True,
                        'additionaloptions': conference.conferenceadditionaloption_set.all(),
                        'adv_fields': attendee_report_fields,