mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 18:05:37 +08:00
FIX: topicCountStats was depending on the wrong properties
This commit is contained in:
parent
99d26cef1a
commit
940c0d5dbb
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue
Block a user