From 290d9a33e0fc1593307d1ca104fed41a189a9df7 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Tue, 3 Sep 2019 16:46:53 +0530 Subject: Fixed defect CCSDK-1680 Issue-ID: CCSDK-1680 Change-Id: Icf7564137d74ecf832d3df485ea68be1b35d2b83 Signed-off-by: Arundathi Patil --- cds-ui/client/src/app/common/shared/pipes/search.pipe.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cds-ui/client/src/app') diff --git a/cds-ui/client/src/app/common/shared/pipes/search.pipe.ts b/cds-ui/client/src/app/common/shared/pipes/search.pipe.ts index 08c76df5b..fd7af89ba 100644 --- a/cds-ui/client/src/app/common/shared/pipes/search.pipe.ts +++ b/cds-ui/client/src/app/common/shared/pipes/search.pipe.ts @@ -31,8 +31,8 @@ export class SearchPipe implements PipeTransform{ if(!searchText) return items; searchText = searchText.toLowerCase(); return items.filter( it => { - if(it.tags) { - return it.tags.toLowerCase().includes(searchText); + if(it.name) { + return it.name.toLowerCase().includes(searchText); } else { return items; } -- cgit 1.2.3-korg