Skip to content

Commit 98bb517

Browse files
committed
correct the display of academic year
1 parent 07f7ea1 commit 98bb517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/javascript/packs/custom/lookup_courses_dropdowns.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ $(document).on('turbolinks:load', () => {
9090
$(target).append(
9191
$('<option>', {
9292
value: model.academic_year,
93-
text: model.academic_year + '-' + model.academic_year + 1
93+
text: model.academic_year + '-' + (parseInt(model.academic_year, 10) + 1)
9494
})
9595
);
9696
});

0 commit comments

Comments
 (0)