Skip to content

Commit

Permalink
Merge pull request #1667 from Akashsah2003/latest_staging
Browse files Browse the repository at this point in the history
fix(elective allocation): Sort result of elective allocation while displaying
  • Loading branch information
dvjsharma authored Dec 4, 2024
2 parents ebc7b1f + 830d835 commit 5892211
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FusionIIIT/templates/ais/start_elective_allocation.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@
if(data.student_list.length == 0){
$('#student-list-registration').append("<tr><td>No Students Found</td></tr>")
}
data.student_list.sort((a, b) => a.student.localeCompare(b.student));
for(ele in data.student_list){
$('#student-list-registration').append("<tr><td>"+data.student_list[ele].student+"</td></tr>")
}
Expand Down

0 comments on commit 5892211

Please sign in to comment.