diff --git a/src/app/task-table/task-table.component.html b/src/app/task-table/task-table.component.html
index 1eb3b65..7462e64 100644
--- a/src/app/task-table/task-table.component.html
+++ b/src/app/task-table/task-table.component.html
@@ -42,7 +42,7 @@
Status
-
+
▲
▼
@@ -62,14 +62,14 @@
|
Assigned To
-
+
▲
▼
|
Category
-
+
▲
▼
@@ -95,12 +95,12 @@
| {{task.priority}} |
- Status: {{task.assignedtoid}}
+ User: {{task.assignedtoid}}
|
- Status: {{task.categoryid}}
+ Category: {{task.categoryid}}
|
diff --git a/src/app/task-table/task-table.component.ts b/src/app/task-table/task-table.component.ts
index 769a19d..ae9dc1b 100644
--- a/src/app/task-table/task-table.component.ts
+++ b/src/app/task-table/task-table.component.ts
@@ -94,13 +94,13 @@ export class TaskTableComponent extends TableComponentBase {
}
sortByStatus() {
- this.doStringSort('title', task => task.title);
+ this.doNumericSort('statusid', task => task.statusid);
}
sortByAssigned() {
- this.doStringSort('title', task => task.title);
+ this.doNumericSort('assignedtoid', task => task.assignedtoid);
}
sortByCategory() {
- this.doStringSort('title', task => task.title);
+ this.doNumericSort('categoryid', task => task.categoryid);
}
private findTaskById(id: number): ScrumTask {
diff --git a/src/app/userstory-table/userstory-table.component.html b/src/app/userstory-table/userstory-table.component.html
index 704f977..e174985 100644
--- a/src/app/userstory-table/userstory-table.component.html
+++ b/src/app/userstory-table/userstory-table.component.html
@@ -31,7 +31,7 @@
Status
-
+
▲
▼
@@ -51,7 +51,7 @@
|
Category
-
+
▲
▼
@@ -73,11 +73,11 @@
Status: {{userstory.statusid}}
- | | s
+
{{userstory.priority}} |
- Status: {{userstory.categoryid}}
+ Category: {{userstory.categoryid}}
|
diff --git a/src/app/userstory-table/userstory-table.component.ts b/src/app/userstory-table/userstory-table.component.ts
index e73c0e2..194d88a 100644
--- a/src/app/userstory-table/userstory-table.component.ts
+++ b/src/app/userstory-table/userstory-table.component.ts
@@ -97,9 +97,9 @@ export class UserstoryTableComponent extends TableComponentBase
}
sortByStatus() {
- this.doStringSort('title', us => us.title);
+ this.doNumericSort('statusid', us => us.statusid);
}
sortByCategory() {
- this.doStringSort('title', us => us.title);
+ this.doNumericSort('categoryid', us => us.categoryid);
}
}
|