A platform for community discussion. Free, open, simple.
FIX: show create new topic link in advanced search mode
Arpit Jalanb43ac801d129
diff --git a/app/assets/javascripts/discourse/controllers/full-page-search.js.es6 b/app/assets/javascripts/discourse/controllers/full-page-search.js.es6index 2045b6daa63..a33492a997b 100644--- a/app/assets/javascripts/discourse/controllers/full-page-search.js.es6+++ b/app/assets/javascripts/discourse/controllers/full-page-search.js.es6@@ -167,9 +167,9 @@ export default Ember.Controller.extend({return this.currentUser && this.currentUser.staff && hasResults;},- @computed('expanded', 'model.grouped_search_result.can_create_topic')- canCreateTopic(expanded, userCanCreateTopic) {- return this.currentUser && userCanCreateTopic && !expanded;+ @computed('model.grouped_search_result.can_create_topic')+ canCreateTopic(userCanCreateTopic) {+ return this.currentUser && userCanCreateTopic;},@computed('expanded')