Skip to content

Commit

Permalink
Merge pull request #1814 from openedx/eahmadjaved/ENT-7410
Browse files Browse the repository at this point in the history
fix: variable name conflicts in monthly_impact_report command
  • Loading branch information
jajjibhai008 committed Jul 27, 2023
2 parents abbbe5e + 7ed9a64 commit e7c94f4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Change Log
Unreleased
----------
[4.0.6]
--------
fix: variable name conflicts in monthly_impact_report command

[4.0.5]
--------
feat: incorporate additional attributes to degreed v2
Expand Down
2 changes: 1 addition & 1 deletion enterprise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
Your project description goes here.
"""

__version__ = "4.0.5"
__version__ = "4.0.6"

default_app_config = "enterprise.apps.EnterpriseConfig"
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 e7c94f4

Please sign in to comment.