mirror of
https://github.com/discourse/discourse.git
synced 2025-09-08 12:06:51 +08:00
FEATURE: search log term details page (#5445)
This commit is contained in:
parent
bbc606988f
commit
eab66065d1
17 changed files with 172 additions and 9 deletions
|
@ -401,6 +401,12 @@ export default function() {
|
|||
]);
|
||||
});
|
||||
|
||||
this.get('/admin/logs/search_logs/term/ruby.json', () => {
|
||||
return response(200, {
|
||||
"term":{"type":"search_log_term","title":"Search Count","data":[{"x":"2017-07-20","y":2}]}
|
||||
});
|
||||
});
|
||||
|
||||
this.get('/onebox', request => {
|
||||
if (request.queryParams.url === 'http://www.example.com/has-title.html' ||
|
||||
request.queryParams.url === 'http://www.example.com/has-title-and-a-url-that-is-more-than-80-characters-because-thats-good-for-seo-i-guess.html') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue