From 5d93c84ae6af20124ea9020fb4740e8d43bb7ec2 Mon Sep 17 00:00:00 2001 From: Addison Beck Date: Thu, 16 Jul 2020 15:44:39 -0500 Subject: [PATCH] removed leaky code --- src/services/search.service.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/services/search.service.ts b/src/services/search.service.ts index 9787b19aa9..a7149cafba 100644 --- a/src/services/search.service.ts +++ b/src/services/search.service.ts @@ -164,19 +164,6 @@ export class SearchService implements SearchServiceAbstraction { if (c.login && c.login.uri != null && c.login.uri.toLowerCase().indexOf(query) > -1) { return true; } - - if (c.hasFields) { - for (const field of c.fields) { - if (field.value.toLowerCase().indexOf(query) > -1) { - return true; - } - - if (field.name.toLowerCase().indexOf(query) > -1) { - return true; - } - } - } - return false; }); }