ui: don't record characters for search filter in browser histroy

This commit is contained in:
Jack Pearkes 2014-06-04 17:15:10 -04:00
parent 904913f099
commit 3ad0fd922a
1 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,14 @@ App.BaseRoute = Ember.Route.extend({
rootKey: '',
condensedView: false,
// Don't record characters in browser history
// for the "search" query item (filter)
queryParams: {
filter: {
replace: true
}
},
getParentAndGrandparent: function(key) {
var parentKey = this.rootKey,
grandParentKey = this.rootKey,