mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
FEATURE: show tags in search results
This commit is contained in:
@ -108,6 +108,16 @@ export default function() {
|
||||
id: 1234
|
||||
}]
|
||||
});
|
||||
} else if (request.queryParams.q === 'evil') {
|
||||
return response({
|
||||
posts: [{
|
||||
id: 1234
|
||||
}],
|
||||
tags: [{
|
||||
id: 6,
|
||||
name: 'eviltrout'
|
||||
}]
|
||||
});
|
||||
}
|
||||
|
||||
return response({});
|
||||
|
Reference in New Issue
Block a user