Skip to content
Snippets Groups Projects

Fix the number of searches graph

3 files
+ 23
14
Compare changes
  • Side-by-side
  • Inline

Files

@@ -58,6 +58,7 @@ class AnalyticsDashboardController < ApplicationController
@@ -58,6 +58,7 @@ class AnalyticsDashboardController < ApplicationController
def searches_per_tag_chart
def searches_per_tag_chart
options = {
options = {
 
tags: params[:tags].presence,
start_date: params[:start_date].presence,
start_date: params[:start_date].presence,
end_date: params[:end_date].presence,
end_date: params[:end_date].presence,
top_n: params[:top_n].presence&.to_i
top_n: params[:top_n].presence&.to_i
Loading