mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
dev: reverse logic for archive filtering
This commit is contained in:
parent
33e3354e4b
commit
7b2212ea91
@ -53,10 +53,10 @@ class NotificationViewSet(BaseViewSet):
|
||||
)
|
||||
|
||||
# Filter for archived or unarchive
|
||||
if archived == "true":
|
||||
if archived == "false":
|
||||
notifications = notifications.filter(archived_at__isnull=True)
|
||||
|
||||
if archived == "false":
|
||||
if archived == "true":
|
||||
notifications = notifications.filter(archived_at__isnull=False)
|
||||
|
||||
# Subscribed issues
|
||||
|
Loading…
Reference in New Issue
Block a user