From 940c0d5dbb7cb2ad8246be54e0601972ce158af7 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Wed, 27 Aug 2014 15:58:22 -0400 Subject: [PATCH] FIX: topicCountStats was depending on the wrong properties --- app/assets/javascripts/discourse/models/category.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/models/category.js b/app/assets/javascripts/discourse/models/category.js index 4cc585a3f37..37e5b95e44b 100644 --- a/app/assets/javascripts/discourse/models/category.js +++ b/app/assets/javascripts/discourse/models/category.js @@ -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";