Skip to content
Snippets Groups Projects
Commit 6fc481bd authored by Lukasz Lopatowski's avatar Lukasz Lopatowski
Browse files

Merge branch...

Merge branch '226-search-option-on-application-instances-list-view-should-work-for-name-and-application-columns' into 'release/1.6.4'

Resolve "Search option on application instances list view should work for Name and Application columns"

See merge request !36
parents 8ad772d3 ddab61ee
Branches
Tags
3 merge requests!41Revert "Merge branch '221-improve-sorting-in-the-application-list-view' into 'release/1.6.4'",!39release/1.6.4 into develop,!36Resolve "Search option on application instances list view should work for Name and Application columns"
...@@ -13,13 +13,11 @@ export class AppinstanceSearchPipe implements PipeTransform { ...@@ -13,13 +13,11 @@ export class AppinstanceSearchPipe implements PipeTransform {
let result = []; let result = [];
value.forEach( val => { value.forEach( val => {
if (val.name.toLowerCase().includes(searchValue.toLowerCase() || if (val.name.toLowerCase().includes(searchValue.toLowerCase()) ||
val.applicationName.toLowerCase().includes(searchValue.toLowerCase()) || val.applicationName.toLowerCase().includes(searchValue.toLowerCase())
val.id.toLowerCase().includes(searchValue.toLowerCase()))
) { ) {
result.push(val); result.push(val);
} }
}) })
return result; return result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment