Skip to content

Commit

Permalink
fix(elective allocation): Sort result of elective allocation while di…
Browse files Browse the repository at this point in the history
…splaying
  • Loading branch information
Akashsah2003 committed Dec 4, 2024
1 parent dc84e74 commit 830d835
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 830d835

Please sign in to comment.