We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22ce7dc commit 3d1008eCopy full SHA for 3d1008e
1 file changed
assets/js/Components/Reports/IssuesTable.js
@@ -37,9 +37,9 @@ export default function IssuesTable({
37
let aValue = a[sortBy]
38
let bValue = b[sortBy]
39
40
- if (sortBy === "label") {
41
- aValue = a.display || ""
42
- bValue = b.display || ""
+ if (typeof(aValue) === "object" && typeof(bValue) === "object") {
+ aValue = a[sortBy + "_display"] || ""
+ bValue = b[sortBy + "_display"] || ""
43
}
44
45
if (isNaN(aValue) || isNaN(bValue)) {
0 commit comments