Skip to content

Commit

Permalink
removing client side searching and sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
praneethkumarpidugu committed Jul 5, 2016
1 parent e8437d9 commit bd4585a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions section6/lesson1/index.html
Expand Up @@ -71,7 +71,7 @@
<th >Birthday</th >
</tr >

<tr ng-repeat="person in filteredPersons = (contacts.persons | filter:sensitiveSearch | orderBy:order)"
<tr ng-repeat="person in contacts.persons"
ng-style="{
'background-color': person.email == contacts.selectedPerson.email ? 'lightgray' : ''
}"
Expand All @@ -81,7 +81,7 @@
<td >{{ person.email }}</td >
<td >{{ person.birthdate | date:"longDate" }}</td >
</tr >
<tr ng-show="filteredPersons.length == 0" >
<tr ng-show="contacts.persons.length == 0" >
<td colspan="4" >
<div class="alert alert-info" >
<p class="text-center" >No results found for search term '{{ search }}'</p >
Expand Down

0 comments on commit bd4585a

Please sign in to comment.