diff --git a/app/assets/javascripts/admin/controllers/admin-search-logs-term.js.es6 b/app/assets/javascripts/admin/controllers/admin-search-logs-term.js.es6 index 98d061e0607..92045416561 100644 --- a/app/assets/javascripts/admin/controllers/admin-search-logs-term.js.es6 +++ b/app/assets/javascripts/admin/controllers/admin-search-logs-term.js.es6 @@ -1,7 +1,7 @@ export default Ember.Controller.extend({ loading: false, term: null, - period: "yearly", + period: "quarterly", searchType: "all", searchTypeOptions: [ diff --git a/app/controllers/admin/search_logs_controller.rb b/app/controllers/admin/search_logs_controller.rb index 515839b1b50..4008ba85a7a 100644 --- a/app/controllers/admin/search_logs_controller.rb +++ b/app/controllers/admin/search_logs_controller.rb @@ -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)