Skip to content

Commit

Permalink
add rule that is too general
Browse files Browse the repository at this point in the history
  • Loading branch information
amdomanska committed Jan 22, 2025
1 parent 4ddf169 commit 56cef2d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
12 changes: 0 additions & 12 deletions portality/bll/services/todo.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,18 +545,6 @@ def associate_all_applications(cls, acc_id, size):
)
return constants.TODO_ASSOCIATE_ALL_APPLICATIONS, all, sort_field, -1

@classmethod
def flagged_to_me(cls, acc_id, size):
sort_field = "created_date"
all = TodoQuery(
musts=[
TodoQuery.flagged_to_me(acc_id)
],
sort=sort_field,
size=size
)
return constants.TODO_FLAGGED, all, sort_field, -1

@classmethod
def urgent_flags(cls, acc_id, size):
sort_field = "most_urgent_flag_deadline"
Expand Down
1 change: 0 additions & 1 deletion portality/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
TODO_ASSOCIATE_FOLLOW_UP_OLD = "todo_associate_follow_up_old"
TODO_ASSOCIATE_START_PENDING = "todo_associate_start_pending"
TODO_ASSOCIATE_ALL_APPLICATIONS = "todo_associate_all_applications"
TODO_FLAGGED = "todo_flagged"
TODO_URGENT_FLAGS = "todo_urgent_flags"
TODO_REGULAR_FLAGS = "todo_regular_flags"

Expand Down

0 comments on commit 56cef2d

Please sign in to comment.