[WEB-2776] fix: restrict notifications (#6081)
* chore: restrict notifications * chore: handled the issue filter duplicates --------- Co-authored-by: gurusainath <gurusainath007@gmail.com>
This commit is contained in:
parent
6ef62820fa
commit
42d6078f60
2 changed files with 9 additions and 1 deletions
|
|
@ -185,6 +185,7 @@ def filter_labels(params, issue_filter, method, prefix=""):
|
|||
and params.get("labels") != "null"
|
||||
):
|
||||
issue_filter[f"{prefix}labels__in"] = params.get("labels")
|
||||
issue_filter[f"{prefix}label_issue__deleted_at__isnull"] = True
|
||||
return issue_filter
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue