Skip to content

Commit

Permalink
Merge pull request #65 from tom0827/EPICSYSTEM-82
Browse files Browse the repository at this point in the history
order public/proponent comment export by id
  • Loading branch information
tom0827 authored Jun 21, 2024
2 parents f056041 + 7dac9f1 commit e706897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion met-api/src/met_api/models/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,6 @@ def get_public_viewable_comments_by_survey_id(cls, survey_id):
ReportSetting.display == true(),
Submission.reviewed_by != 'System'
))
query = query.order_by(Comment.text.asc())
query = query.order_by(Comment.id.asc())
items = query.all()
return CommentSchema(many=True, only=['submission_id', 'label', 'text']).dump(items)

0 comments on commit e706897

Please sign in to comment.