Skip to content

Commit 6bdefcc

Browse files
Update expected casing for Title column
1 parent 1366683 commit 6bdefcc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

resources/views/scheduleInstrument.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ <h3>Time Scheduled</h3>
186186
LABKEY.Query.selectRows({
187187
schemaName: 'targetedms',
188188
queryName: 'msProject',
189-
sort: 'title',
190-
columns: 'Id,title',
189+
sort: 'Title',
190+
columns: 'Id,Title',
191191
scope: this,
192192
success: function (result) {
193193
let rows = result.rows;
@@ -198,7 +198,7 @@ <h3>Time Scheduled</h3>
198198
for (let i = 0; i < rows.length; i++) {
199199
let option = document.createElement('option');
200200
option.value = rows[i].Id;
201-
option.text = rows[i].title;
201+
option.text = rows[i].Title;
202202
if (project === rows[i].Id) {
203203
option.selected = true;
204204
}
@@ -692,7 +692,7 @@ <h3>Time Scheduled</h3>
692692
LABKEY.Query.selectRows({
693693
schemaName: 'targetedms',
694694
queryName: 'instrumentSchedule',
695-
columns: 'Id,startTime,endTime,name,notes,instrument/color,instrument/Id,project/Id, project/title',
695+
columns: 'Id,startTime,endTime,name,notes,instrument/color,instrument/Id,project/Id, project/Title',
696696
filterArray: [
697697
LABKEY.Filter.create('instrument', instrument ? instrument : $('#instrumentDropDown').val()),
698698
],
@@ -708,7 +708,7 @@ <h3>Time Scheduled</h3>
708708
notes: row.notes,
709709
color: row['instrument/color'],
710710
project: row['project/Id'],
711-
title: row['project/title']
711+
title: row['project/Title']
712712
});
713713
}
714714
callback(instrumentSchedule);

0 commit comments

Comments
 (0)