discourse/app/assets/javascripts/admin/controllers/admin-search-logs-term.js.es6

20 lines
517 B
JavaScript

export default Ember.Controller.extend({
loading: false,
term: null,
period: "quarterly",
searchType: "all",
searchTypeOptions: [
{
id: "all",
name: I18n.t("admin.logs.search_logs.types.all_search_types")
},
{ id: "header", name: I18n.t("admin.logs.search_logs.types.header") },
{ id: "full_page", name: I18n.t("admin.logs.search_logs.types.full_page") },
{
id: "click_through_only",
name: I18n.t("admin.logs.search_logs.types.click_through_only")
}
]
});