From 70cf36700be50e8a5512fe3042b8c0febc5cb1b0 Mon Sep 17 00:00:00 2001 From: cpradio Date: Mon, 27 Feb 2017 12:29:54 -0500 Subject: [PATCH] FIX: Collapsing/Expanding Advanced Search doesn't wipe out Advanced Search Terms from search query. --- .../discourse/components/search-advanced-options.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/search-advanced-options.js.es6 b/app/assets/javascripts/discourse/components/search-advanced-options.js.es6 index 48d272baad4..4c658c63580 100644 --- a/app/assets/javascripts/discourse/components/search-advanced-options.js.es6 +++ b/app/assets/javascripts/discourse/components/search-advanced-options.js.es6 @@ -50,8 +50,8 @@ export default Em.Component.extend({ init() { this._super(); + this._init(); Ember.run.scheduleOnce('afterRender', () => { - this._init(); this._update(); }); },