diff --git a/CHANGELOG.md b/CHANGELOG.md index fcee670..b377a0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ ### Fixed - Fixed post url in backend view - Fixed comments count +- Fixed comments filters ## 0.10.1 (January 11, 2016) diff --git a/app/views/admin/comment-index.js b/app/views/admin/comment-index.js index 8b342eb..2ecc959 100644 --- a/app/views/admin/comment-index.js +++ b/app/views/admin/comment-index.js @@ -30,10 +30,17 @@ module.exports = { watch: { - 'config.page': 'load', + 'config.page': function (page, old) { + if (page == old) { + return; + } + + this.load(); + }, 'config.filter': { handler: function (filter) { + this.load(); this.$session.set('comments.filter', filter); }, deep: true