Skip to content

Commit 07baa02

Browse files
committed
Re-mark: student search is case-insensitive
1 parent 2ef3a15 commit 07baa02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

numbas_lti/static/resource_remark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ const app = createApp({
430430

431431
const search = this.name_search.trim().toLowerCase();
432432
if(search != '') {
433-
list = list.filter(attempt => `${attempt.user.full_name} ${attempt.user.identifier}`.includes(search));
433+
list = list.filter(attempt => `${attempt.user.full_name} ${attempt.user.identifier}`.toLowerCase().includes(search));
434434
}
435435
return list;
436436
},

0 commit comments

Comments
 (0)