Manual copy for now

This commit is contained in:
2023-06-09 16:33:40 -07:00
parent fb3c3ce699
commit 172f45aa67
6 changed files with 22 additions and 31 deletions

View File

@ -1,10 +1,12 @@
function compareFunction(a, b) {
return a['Priority'][0] - b['Priority'][0] || a['Req '].length - b['Req '].length || a['Req '] - b['Req '];
return a.Priority[0] - b.Priority[0] || a.Req.length - b.Req.length || a.Req - b.Req;
}
function initIndex(url) {
$.getJSON(url, function (data) {
for (var i = data.length - 1; i > -1; i--) {
if (data[i]['Subject - from Requestor'].length > 255)
data[i]['Subject - from Requestor'] = data[i]['Subject - from Requestor'].substring(0, 255) + '...';
if (data[i].Submitted !== '')
continue;
data.splice(i, 1);
@ -21,8 +23,7 @@ function initIndex(url) {
{ key: "Requestor", dataType: "string" },
{ key: "Assigned To", dataType: "string" },
{ key: "Second Resource", dataType: "string" },
{ key: "Subject - from Requestor", dataType: "string" },
{ key: "System(s)", dataType: "string" },
{ key: "Subject - from Requestor", dataType: "string", width: "30%" },
{ key: "Priority", dataType: "string" },
],
features: [