Skip to content

Commit

Permalink
Merge pull request #224 from YujithIsura/master
Browse files Browse the repository at this point in the history
Fixed ordering issue in candidate table
  • Loading branch information
YujithIsura authored Feb 27, 2020
2 parents 9bd7204 + f86fdb8 commit b0d2153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/repository/candidate.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const CANDIDATE_BY_NOMINATION_SELECT_QUERY = `SELECT CD.ID AS CANDIDATE_ID,
CC.KEY_NAME AS CANDIDATE_KEY_NAME
FROM CANDIDATE_DATA CD
RIGHT JOIN CANDIDATE_CONFIG CC ON CD.CANDIDATE_CONFIG_ID=CC.ID
WHERE CD.NOMINATION_ID = :nomination_id`;
WHERE CD.NOMINATION_ID = :nomination_id ORDER BY CD.ID` ;

const CANDIDATE_BY_CANDIDATE_ID_SELECT_QUERY = `SELECT CD.ID AS CANDIDATE_ID,
CD.CANDIDATE_CONFIG_ID AS CANDIDATE_CONFIG_ID,
Expand Down

0 comments on commit b0d2153

Please sign in to comment.