Commit 9b084b74503aa1aed5c383b86c29605c3e4e81e7

Authored by trainee
1 parent e06d850e
Exists in master

add item

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/dashboard/filter.pipe.ts
@@ -14,7 +14,7 @@ export class FilterPipe implements PipeTransform { @@ -14,7 +14,7 @@ export class FilterPipe implements PipeTransform {
14 const resultArray = []; 14 const resultArray = [];
15 for (const item of value) { 15 for (const item of value) {
16 console.log('item: ', item); 16 console.log('item: ', item);
17 - var string1 = item['team'].toLowerCase() + item['COMMENT'].toLowerCase() + item['custgroupName'].toLowerCase(); 17 + var string1 = item['team'].toLowerCase() + item['COMMENT'].toLowerCase() + item['custgroupName'].toLowerCase() + item['STATUS'].toLowerCase() ;
18 var string2 = filterString.toLowerCase(); 18 var string2 = filterString.toLowerCase();
19 if (string1.indexOf(string2) > -1) { 19 if (string1.indexOf(string2) > -1) {
20 resultArray.push(item); 20 resultArray.push(item);