Skip to content

Commit

Permalink
Sorting bit for #180
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Apr 9, 2016
1 parent 8434e13 commit f3c2c24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/datatable/datatable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ export class DataTable implements AfterViewChecked,AfterViewInit,OnInit,DoCheck
if(this.hasFilter())
this.filter();
else
this.updateDataToRender(this.value);
this.updateDataToRender(this.filteredValue||this.value);
}
}

Expand All @@ -421,7 +421,7 @@ export class DataTable implements AfterViewChecked,AfterViewInit,OnInit,DoCheck
if(this.hasFilter())
this.filter();
else
this.updateDataToRender(this.value);
this.updateDataToRender(this.filteredValue||this.value);
}

}
Expand Down

0 comments on commit f3c2c24

Please sign in to comment.