Commit 96d56136 authored by Zac Wood's avatar Zac Wood

Fixed instructor and times fields

parent bfd24d73
......@@ -9,7 +9,15 @@ function search() {
function addRow(table, section) {
const tr = document.createElement('tr');
const fields = [section.name, section.title, section.crn, section.professor, section.location, section.days];
const fields = [
section.name,
section.title,
section.crn,
section.instructor,
section.location,
section.days,
[section.start_time, section.end_time].join(' - '),
];
fields.forEach(field => {
const td = document.createElement('td');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment