summaryrefslogtreecommitdiffstats
path: root/cds-ui
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-09-03 16:46:53 +0530
committerArundathi Patil <arundpil@in.ibm.com>2019-09-03 16:46:58 +0530
commit290d9a33e0fc1593307d1ca104fed41a189a9df7 (patch)
tree72e164467a5b7e1e300cfc590a60a3fe7b292a65 /cds-ui
parentb12d13b0b78b7e87912c07a7c946cbbfcee41d47 (diff)
Fixed defect CCSDK-1680
Issue-ID: CCSDK-1680 Change-Id: Icf7564137d74ecf832d3df485ea68be1b35d2b83 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'cds-ui')
-rw-r--r--cds-ui/client/src/app/common/shared/pipes/search.pipe.ts4
1 files changed, 2 insertions, 2 deletions
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;
}