Merged in bugfix/PMCORE-3446 (pull request #8236)

PMCORE-3446

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Rodrigo Quelca
2021-10-25 19:24:48 +00:00
committed by Julio Cesar Laura Avendaño
2 changed files with 5 additions and 1 deletions

View File

@@ -43,7 +43,7 @@
<div slot="case_number" slot-scope="props"> <div slot="case_number" slot-scope="props">
{{ props.row.CASE_NUMBER }} {{ props.row.CASE_NUMBER }}
</div> </div>
<div slot="thread_title" slot-scope="props"> <div slot="case_title" slot-scope="props">
{{ props.row.THREAD_TITLE }} {{ props.row.THREAD_TITLE }}
</div> </div>
<div slot="process_name" slot-scope="props"> <div slot="process_name" slot-scope="props">
@@ -746,6 +746,7 @@ export default {
product, product,
newItems = []; newItems = [];
that.filterItems = []; that.filterItems = [];
that.headings = {};
response.data.columns.forEach((item) => { response.data.columns.forEach((item) => {
if (item.enableFilter) { if (item.enableFilter) {
if (that.availableItems[that.itemMap[item.field]]) { if (that.availableItems[that.itemMap[item.field]]) {
@@ -757,6 +758,7 @@ export default {
} }
} }
} }
that.headings[item.field] = item.name;
columns.push(item.field); columns.push(item.field);
}); });
that.filterItems = newItems; that.filterItems = newItems;

View File

@@ -138,6 +138,7 @@ export default {
product, product,
newItems = []; newItems = [];
that.filterItems = []; that.filterItems = [];
that.headings = {};
response.data.columns.forEach((item) => { response.data.columns.forEach((item) => {
if (item.enableFilter) { if (item.enableFilter) {
if (that.availableItems[that.itemMap[item.field]]) { if (that.availableItems[that.itemMap[item.field]]) {
@@ -149,6 +150,7 @@ export default {
} }
} }
} }
that.headings[item.field] = item.name;
columns.push(item.field); columns.push(item.field);
}); });
that.filterItems = newItems; that.filterItems = newItems;