Merge pull request #5385 from techAPJ/search-logs-improvements

FEATURE: support search click through tracking for user, category and tags
This commit is contained in:
Arpit Jalan
2017-12-01 12:08:38 +05:30
committed by GitHub
14 changed files with 126 additions and 62 deletions
@@ -393,7 +393,7 @@ export default function() {
this.get('/admin/logs/search_logs.json', () => {
return response(200, [
{"term":"foobar","searches":35,"click_through":6,"clicked_topic_id":1550,"topic_title":"Foo Bar Topic Title","topic_url":"http://discourse.example.com/t/foo-bar-topic-title/1550","unique":16}
{"term":"foobar","searches":35,"click_through":6,"unique":16}
]);
});