Add notification on ticket messages
This commit is contained in:
parent
aa43b26683
commit
7065d9ce6b
8 changed files with 90 additions and 10 deletions
|
@ -129,7 +129,6 @@ class Profile(models.Model):
|
|||
def count_unseen_notifications(self):
|
||||
query = {
|
||||
'read': False,
|
||||
'comment__hidden': False,
|
||||
}
|
||||
return self.notifications.filter(**query).count()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue