--- a/cms/app-client/app/controllers/application.js Wed Jun 22 22:13:46 2016 +0200
+++ b/cms/app-client/app/controllers/application.js Thu Jun 23 10:41:57 2016 +0200
@@ -8,18 +8,16 @@
theme: 'thematique'
}],
- filter: Ember.inject.service(),
-
date: [],
discourse: null,
language: null,
location: null,
theme: null,
+ filter: Ember.inject.service(),
setFilter: Ember.observer('date', 'discourse', 'language', 'location', 'theme', function(sender, key) {
this.get('filter').set(key, this.get(key));
}),
-
filterObserver: Ember.observer('filter.date', 'filter.discourse', 'filter.language', 'filter.location', 'filter.theme', function(sender, key) {
key = key.split('.').pop();
this.set(key, this.get('filter').get(key));