diff --git a/ckanext/report/blueprint.py b/ckanext/report/blueprint.py index 96f937f..2a476b1 100644 --- a/ckanext/report/blueprint.py +++ b/ckanext/report/blueprint.py @@ -160,7 +160,7 @@ def view(report_name, organization=None, refresh=False): 'options_html': options_html, 'report_template': report['template'], 'are_some_results': are_some_results, - 'organization': organization }) + 'organization': organization}) report.add_url_rule(u'/report', view_func=index) diff --git a/ckanext/report/controllers.py b/ckanext/report/controllers.py index 46e4190..c319d7b 100644 --- a/ckanext/report/controllers.py +++ b/ckanext/report/controllers.py @@ -133,4 +133,5 @@ def view(self, report_name, organization=None, refresh=False): 'report_date': report_date, 'options': options, 'options_html': options_html, 'report_template': report['template'], - 'are_some_results': are_some_results}) + 'are_some_results': are_some_results, + 'organization': organization})