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 7370026c19
commit d8d79fbe1a

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,