This commit is contained in:
Aevann1 2021-08-31 17:56:13 +02:00
parent 1b2fb88654
commit 4e3557a87b
2 changed files with 1 additions and 3 deletions

View file

@ -350,7 +350,6 @@ class User(Base, Stndrd, Age_times):
return self.notifications.filter(Notification.read == False).join(Notification.comment).filter(
Comment.author_id == AUTOJANNY_ACCOUNT).count()
@lazy
def notification_subscriptions(self, page=1, all_=False):
notifications = self.notifications.join(Notification.comment).filter(Comment.author_id == AUTOJANNY_ACCOUNT)
@ -369,7 +368,6 @@ class User(Base, Stndrd, Age_times):
return output
@lazy
def notification_commentlisting(self, page=1, all_=False):
notifications = self.notifications.join(Notification.comment).filter(