We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be9de21 commit f09c6a3Copy full SHA for f09c6a3
app/controllers/api/v1/stats_controller.rb
@@ -82,6 +82,11 @@ def user_stats
82
query = query.where(project: filter_by_project)
83
end
84
85
+ if params[:filter_by_category].present?
86
+ filter_by_category = params[:filter_by_category].split(",")
87
+ query = query.where(category: filter_by_category)
88
+ end
89
+
90
# do the boundary thingie if requested
91
use_boundary_aware = params[:boundary_aware] == "true"
92
total_seconds = if use_boundary_aware
0 commit comments