Skip to content

Commit

Permalink
fix: variable name conflicts in monthly_impact_report command
Browse files Browse the repository at this point in the history
  • Loading branch information
jajjibhai008 committed Jul 21, 2023
1 parent 08792b2 commit a1c044e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions enterprise/management/commands/monthly_impact_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@
on
s.id=cs.skill_id
WHERE
enterprise_enrollment_created >=(SELECT two_months_ago_start_range FROM dynamic_dates)
enterprise_enrollment_created_at >=(SELECT two_months_ago_start_range FROM dynamic_dates)
AND
enterprise_enrollment_created <= (SELECT two_months_ago_end_range FROM dynamic_dates)
enterprise_enrollment_created_at <= (SELECT two_months_ago_end_range FROM dynamic_dates)
GROUP BY
1,2
ORDER BY
Expand Down Expand Up @@ -493,9 +493,9 @@
on
s.id=cs.skill_id
WHERE
enterprise_enrollment_created >= (SELECT last_month_start_range FROM dynamic_dates)
enterprise_enrollment_created_at >= (SELECT last_month_start_range FROM dynamic_dates)
AND
enterprise_enrollment_created <= (SELECT last_month_end_range FROM dynamic_dates)
enterprise_enrollment_created_at <= (SELECT last_month_end_range FROM dynamic_dates)
GROUP BY
1,2
ORDER BY
Expand Down

0 comments on commit a1c044e

Please sign in to comment.