id searching

This commit is contained in:
Kyle Spearrin 2018-07-06 15:03:54 -04:00
parent 35bb106654
commit 656d17cc07
4 changed files with 4 additions and 4 deletions

2
jslib

@ -1 +1 @@
Subproject commit 7b23b90054f18c2093386d62cc39abb9be67b075 Subproject commit c44e633f42b9972386fb4f3aaff43a0d8506781e

View File

@ -12,7 +12,7 @@
</div> </div>
</div> </div>
<i class="fa fa-spinner fa-spin text-muted" *ngIf="loading"></i> <i class="fa fa-spinner fa-spin text-muted" *ngIf="loading"></i>
<ng-container *ngIf="!loading && (collections | search:searchText:'name') as searchedCollections"> <ng-container *ngIf="!loading && (collections | search:searchText:'name':'id') as searchedCollections">
<p *ngIf="!searchedCollections.length">{{'noItemsInList' | i18n}}</p> <p *ngIf="!searchedCollections.length">{{'noItemsInList' | i18n}}</p>
<table class="table table-hover table-list" *ngIf="searchedCollections.length"> <table class="table table-hover table-list" *ngIf="searchedCollections.length">
<tbody> <tbody>

View File

@ -12,7 +12,7 @@
</div> </div>
</div> </div>
<i class="fa fa-spinner fa-spin text-muted" *ngIf="loading"></i> <i class="fa fa-spinner fa-spin text-muted" *ngIf="loading"></i>
<ng-container *ngIf="!loading && (groups | search:searchText:'name') as searchedGroups"> <ng-container *ngIf="!loading && (groups | search:searchText:'name':'id') as searchedGroups">
<p *ngIf="!searchedGroups.length">{{'noItemsInList' | i18n}}</p> <p *ngIf="!searchedGroups.length">{{'noItemsInList' | i18n}}</p>
<table class="table table-hover table-list" *ngIf="searchedGroups.length"> <table class="table table-hover table-list" *ngIf="searchedGroups.length">
<tbody> <tbody>

View File

@ -12,7 +12,7 @@
</div> </div>
</div> </div>
<i class="fa fa-spinner fa-spin text-muted" *ngIf="loading"></i> <i class="fa fa-spinner fa-spin text-muted" *ngIf="loading"></i>
<ng-container *ngIf="!loading && (users | search:searchText:'name':'email') as searchedUsers"> <ng-container *ngIf="!loading && (users | search:searchText:'name':'email':'id') as searchedUsers">
<p *ngIf="!searchedUsers.length">{{'noItemsInList' | i18n}}</p> <p *ngIf="!searchedUsers.length">{{'noItemsInList' | i18n}}</p>
<table class="table table-hover table-list" *ngIf="searchedUsers.length"> <table class="table table-hover table-list" *ngIf="searchedUsers.length">
<tbody> <tbody>