FIX: topicCountStats was depending on the wrong properties

This commit is contained in:
Neil Lalonde 2014-08-27 15:58:22 -04:00
parent 99d26cef1a
commit 940c0d5dbb

View File

@ -156,7 +156,7 @@ Discourse.Category = Discourse.Model.extend({
topicCountStats: function() {
return this.countStats('topics');
}.property('posts_year', 'posts_month', 'posts_week', 'posts_day'),
}.property('topics_year', 'topics_month', 'topics_week', 'topics_day'),
setNotification: function(notification_level) {
var url = "/category/" + this.get('id')+"/notifications";