Skip to content

Commit

Permalink
WP-483 - fixes for extensions (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
chandra-tacc authored Feb 9, 2024
1 parent ab2dd0c commit 26bbbf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ <h1>Request to Submit Extension</h1>
<p>
Your extension submission was successful.
</p>
<a class="c-button c-button--primary" href="/submissions/extension-request/">Go Back to Extensions</a>
<a class="c-button c-button--primary" href="/workbench/dashboard">Go to Dashboard</a>
</div>
{% endblock %}
2 changes: 1 addition & 1 deletion apcd-cms/src/apps/utils/apcd_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,7 @@ def get_applicable_data_periods(submitter_id):
sslmode='require',
)
cur = conn.cursor()
query = """ SELECT data_period_start FROM submitter_calendar WHERE submitter_id = (%s) AND cancelled = 'FALSE' AND granted_reprieve='FALSE' AND submission_id is Null """
query = """ SELECT distinct data_period_start FROM submitter_calendar WHERE submitter_id = (%s) AND cancelled = 'FALSE' AND granted_reprieve='FALSE' AND submission_id is Null """
cur.execute(query, (submitter_id,))
return cur.fetchall()

Expand Down

0 comments on commit 26bbbf2

Please sign in to comment.