pb m3.22 - set correct filter when clicking on subject and language in notice
authorymh <ymh.work@gmail.com>
Thu, 24 Nov 2016 19:08:36 +0100
changeset 446 2a93eb9f38f5
parent 445 b1e5ad6b2a29
child 447 38d5789e30d0
pb m3.22 - set correct filter when clicking on subject and language in notice
cms/app-client/app/components/notice-component.js
--- a/cms/app-client/app/components/notice-component.js	Thu Nov 24 14:39:50 2016 +0100
+++ b/cms/app-client/app/components/notice-component.js	Thu Nov 24 19:08:36 2016 +0100
@@ -21,7 +21,7 @@
                         participant['role'].push(contributor.role.split('/').pop());
                     } else {
                         participants.push({ name: contributor.name, role: [ contributor.role.split('/').pop() ] });
-                    }    
+                    }
                 }
             });
         }
@@ -63,11 +63,11 @@
     actions: {
 
         addThemeFilter: function(id) {
-            this.get('filter').set('theme', id);
+            this.get('filter').setFilter('theme', id);
         },
 
         addLanguageFilter: function(id) {
-            this.get('filter').set('language', id);
+            this.get('filter').setFilter('language', id);
         }
 
     }