mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 01:54:04 +08:00
e3925278e2
https://meta.discourse.org/t/search-logs-page/73281/11?u=techapj This commit adds following features: - support for tracking click through to user, tag and category - new filter for search type (header, full page) This commit also removes "most viewed topic" field from search logs page because we are now tracking multiple click through entities, so topic is not a special entity anymore. This also improves query perf. The query now takes `20.5ms` to runs, as opposed to `655.9ms` previously.
7 lines
149 B
Ruby
7 lines
149 B
Ruby
class SearchLogsSerializer < ApplicationSerializer
|
|
attributes :term,
|
|
:searches,
|
|
:click_through,
|
|
:unique
|
|
end
|