Skip to content

Commit

Permalink
WP-793: Check for null logs (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
chandra-tacc authored Dec 4, 2024
1 parent 23f7667 commit 9828bc1
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -854,7 +854,7 @@ def get_user_submission_log(log_id, log_type, user=None):
FROM submission_logs
JOIN submissions ON submissions.submission_id = submission_logs.submission_id
JOIN submitter_users ON submissions.submitter_id = submitter_users.submitter_id
WHERE submission_logs.log_id = %s
WHERE submission_logs.log_id = %s AND {log_column_name} IS NOT NULL
"""

params = [log_id]
Expand Down

0 comments on commit 9828bc1

Please sign in to comment.