mirror of
https://github.com/discourse/discourse.git
synced 2026-08-26 21:27:16 -05:00
Adds unit tests for SearchController
This commit is contained in:
@@ -17,6 +17,7 @@ Discourse.SearchController = Em.ArrayController.extend(Discourse.Presence, {
|
||||
this.searchTerm(term, this.get('typeFilter'));
|
||||
} else {
|
||||
this.set('content', Em.A());
|
||||
this.set('resultCount', 0);
|
||||
}
|
||||
this.set('selectedIndex', 0);
|
||||
}.observes('term', 'typeFilter'),
|
||||
|
||||
Reference in New Issue
Block a user