From 19f2aca60b0a73fd0f3c8eed42c2eb4c9160182b Mon Sep 17 00:00:00 2001 From: Rodrigo Quelca Date: Mon, 25 Oct 2021 14:46:55 +0000 Subject: [PATCH] PMCORE-3446: usto Case List Labels should be displayed as the labels defined in the Report Table Build 3.7.0-5474 --- resources/assets/js/home/CustomCaseList/CustomCaseList.vue | 4 +++- resources/assets/js/home/CustomCaseList/defaultMixins.js | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/assets/js/home/CustomCaseList/CustomCaseList.vue b/resources/assets/js/home/CustomCaseList/CustomCaseList.vue index b9396e769..a3791ca86 100644 --- a/resources/assets/js/home/CustomCaseList/CustomCaseList.vue +++ b/resources/assets/js/home/CustomCaseList/CustomCaseList.vue @@ -43,7 +43,7 @@
{{ props.row.CASE_NUMBER }}
-
+
{{ props.row.THREAD_TITLE }}
@@ -747,6 +747,7 @@ export default { product, newItems = []; that.filterItems = []; + that.headings = {}; response.data.columns.forEach((item) => { if (item.enableFilter) { if (that.availableItems[that.itemMap[item.field]]) { @@ -758,6 +759,7 @@ export default { } } } + that.headings[item.field] = item.name; columns.push(item.field); }); that.filterItems = newItems; diff --git a/resources/assets/js/home/CustomCaseList/defaultMixins.js b/resources/assets/js/home/CustomCaseList/defaultMixins.js index a28054249..e7d8b6601 100644 --- a/resources/assets/js/home/CustomCaseList/defaultMixins.js +++ b/resources/assets/js/home/CustomCaseList/defaultMixins.js @@ -138,6 +138,7 @@ export default { product, newItems = []; that.filterItems = []; + that.headings = {}; response.data.columns.forEach((item) => { if (item.enableFilter) { if (that.availableItems[that.itemMap[item.field]]) { @@ -149,6 +150,7 @@ export default { } } } + that.headings[item.field] = item.name; columns.push(item.field); }); that.filterItems = newItems;