From 16ea1c55a9dc9660f8cf5ca754411a3328261303 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Tue, 21 Jan 2020 15:16:15 +0530 Subject: [PATCH] FIX: download CSV feature was not working for group reports --- plugin.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin.rb b/plugin.rb index cad6d24..8cdebca 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1085,6 +1085,7 @@ SQL end end + skip_before_action :check_xhr, only: [:group_reports_run] def group_reports_run return raise Discourse::NotFound unless guardian.user_can_access_query?(group, query)