equal
deleted
inserted
replaced
54 this.get('filter').setFilter('language', id); |
54 this.get('filter').setFilter('language', id); |
55 }, |
55 }, |
56 |
56 |
57 addTypeFilter: function(id) { |
57 addTypeFilter: function(id) { |
58 this.get('filter').setFilter('theme', id); |
58 this.get('filter').setFilter('theme', id); |
|
59 }, |
|
60 |
|
61 addCreatedFilter: function(dateStr) { |
|
62 const date = new Date(dateStr); |
|
63 this.get('filter').setFilter('date', date.getFullYear().toString()); |
59 } |
64 } |
60 } |
65 } |
61 |
66 |
62 }); |
67 }); |