Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
fix comments filters
Browse files Browse the repository at this point in the history
  • Loading branch information
malte-christian committed Mar 1, 2016
1 parent ff08578 commit 95143fb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
### Fixed
- Fixed post url in backend view
- Fixed comments count
- Fixed comments filters

## 0.10.1 (January 11, 2016)

Expand Down
9 changes: 8 additions & 1 deletion app/views/admin/comment-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95143fb

Please sign in to comment.