Skip to content

Commit

Permalink
fix: fix queryset filtering for tender author survey reminder. ref #1057
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Feb 23, 2024
1 parent 239a5d5 commit 1d8777a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def handle(self, kind=None, reminder=False, dry_run=False, **options):
if kind:
tender_qs = tender_qs.filter(kind=kind)
if reminder:
tender_qs = tender_qs.exclude(survey_transactioned_send_date=None).filter(start_working_date=one_day_ago)
tender_qs = tender_qs.filter(start_working_date=one_day_ago)
else:
tender_qs = tender_qs.filter(survey_transactioned_send_date=None).filter(deadline_date=seven_days_ago)

Expand Down

0 comments on commit 1d8777a

Please sign in to comment.