UX: switch to quartlerly period view for search log term graphs

This commit is contained in:
Arpit Jalan 2018-01-16 07:53:22 +05:30
parent ce79ec0127
commit 6177fb80eb
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
export default Ember.Controller.extend({
loading: false,
term: null,
period: "yearly",
period: "quarterly",
searchType: "all",
searchTypeOptions: [

View File

@ -10,7 +10,7 @@ class Admin::SearchLogsController < Admin::AdminController
params.require(:term)
term = params[:term]
period = params[:period] || "yearly"
period = params[:period] || "quarterly"
search_type = params[:search_type] || "all"
details = SearchLog.term_details(term, period&.to_sym, search_type&.to_sym)