mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 06:43:43 +08:00
c42df7ddd7
If the period is different, clicking through to view a term is confusing because a different period will show a different set of stats.
22 lines
597 B
JavaScript
22 lines
597 B
JavaScript
import { DEFAULT_PERIOD } from "admin/controllers/admin-search-logs-index";
|
|
|
|
export default Ember.Controller.extend({
|
|
loading: false,
|
|
term: null,
|
|
period: DEFAULT_PERIOD,
|
|
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")
|
|
}
|
|
]
|
|
});
|