--- a/cms/app-client/app/controllers/application.js Sat Oct 15 20:02:09 2016 +0530
+++ b/cms/app-client/app/controllers/application.js Sun Oct 16 22:23:31 2016 +0530
@@ -22,7 +22,9 @@
filter: Ember.inject.service(),
setFilter: Ember.observer('discourse', 'language', 'location', 'theme', function(sender, key) {
- this.get('filter').set(key, this.get(key));
+ if(this.get('filter').get(key) !== this.get(key)) {
+ this.get('filter').set(key, this.get(key));
+ }
}),
filterObserver: Ember.observer('filter.discourse', 'filter.language', 'filter.location', 'filter.theme', function(sender, key) {
key = key.split('.').pop();