From 0fdad9287e50eb968ea91f14ee685b5121b0462a Mon Sep 17 00:00:00 2001 From: Corey Hammerton Date: Wed, 11 Nov 2015 18:44:12 -0500 Subject: [PATCH] puppetboard/templates/reports: Passing the current_env parameter to the reports_table macro This fixes https://github.com/puppet-community/puppetboard/issues/181 --- puppetboard/templates/reports.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppetboard/templates/reports.html b/puppetboard/templates/reports.html index e862380a..4d98b320 100644 --- a/puppetboard/templates/reports.html +++ b/puppetboard/templates/reports.html @@ -1,6 +1,6 @@ {% extends 'layout.html' %} {% import '_macros.html' as macros %} {% block content %} -{{ macros.reports_table(reports, reports_count, report_event_counts, condensed=False, hash_truncate=False, show_conf_col=True, show_agent_col=True, show_host_col=True, show_search_bar=True, searchable=True)}} +{{ macros.reports_table(reports, reports_count, report_event_counts, condensed=False, hash_truncate=False, show_conf_col=True, show_agent_col=True, show_host_col=True, show_search_bar=True, searchable=True, current_env=current_env)}} {{ macros.render_pagination(pagination)}} {% endblock content %}