Skip to content

Commit

Permalink
versions
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstinalin committed Jan 9, 2025
1 parent 23b3e33 commit be37e58
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/olympia/versions/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,10 @@ def get_due_date_reason_q_objects(cls):
# date even if the version has been disabled / not signed.
'needs_human_review_from_cinder': Q(
needshumanreview__is_active=True,
needshumanreview__reason=NeedsHumanReview.REASONS.CINDER_ESCALATION,
needshumanreview__reason__in={
NeedsHumanReview.REASONS.CINDER_ESCALATION,
NeedsHumanReview.REASONS.CINDER_APPEAL_ESCALATION,
},
),
'needs_human_review_from_abuse': Q(
needshumanreview__is_active=True,
Expand Down Expand Up @@ -257,6 +260,7 @@ def get_due_date_reason_q_objects(cls):
needshumanreview__reason__in=(
NeedsHumanReview.REASONS.ABUSE_ADDON_VIOLATION.value,
NeedsHumanReview.REASONS.CINDER_ESCALATION.value,
NeedsHumanReview.REASONS.CINDER_APPEAL_ESCALATION.value,
NeedsHumanReview.REASONS.ADDON_REVIEW_APPEAL.value,
NeedsHumanReview.REASONS.BELONGS_TO_PROMOTED_GROUP.value,
NeedsHumanReview.REASONS.ADDED_TO_PROMOTED_GROUP.value,
Expand Down

0 comments on commit be37e58

Please sign in to comment.