Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit aa3d57b

Browse files
sorting the article order
1 parent b29eae2 commit aa3d57b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎mpeds_coder.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ def modal_view(variable):
960960
article_ids = [x.article_id for x in db_session.query(Event).filter(Event.id.in_(candidate_events)).all()]
961961

962962
## get distinct values
963-
article_ids = list(set(article_ids))
963+
article_ids = sorted(list(set(article_ids)))
964964

965965
return render_template('modal.html',
966966
variable = variable,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /