more of type will not go to fullpage search if looking at a topic
This commit is contained in:
parent
93b5af716c
commit
c2aab0b1b8
|
@ -88,7 +88,7 @@ export default Em.Controller.extend(Presence, {
|
|||
|
||||
actions: {
|
||||
moreOfType: function(type) {
|
||||
if (type === 'topic') {
|
||||
if (type === 'topic' && this.get('searchContext.type') !== 'topic') {
|
||||
var term = this.get('term');
|
||||
// TODO in topic and in category special handling
|
||||
Discourse.URL.routeTo("/search?q=" + encodeURIComponent(term));
|
||||
|
|
Loading…
Reference in New Issue