fix: mark all as read not working
This commit is contained in:
parent
c9f3fc8e6d
commit
9e156efe9b
@ -48,6 +48,7 @@ def get_notifications():
|
||||
def mark_as_read(user=None, doc=None):
|
||||
user = user or frappe.session.user
|
||||
filters = {"to_user": user, "read": False}
|
||||
or_filters = []
|
||||
if doc:
|
||||
or_filters = [
|
||||
{"comment": doc},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user