Skip to content

Commit

Permalink
Lọc, tìm kiếm
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyengiangk62uet committed Apr 5, 2019
1 parent 115c1b9 commit b05e4a9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Management/src/app/exams/list/list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class ListComponent implements OnInit {
});
showNotification('top', 'right', 1000, 'Have ' + this.allItems.length + ' exam(s)');
this.setPage(this.pager.currentPage);
},
},
error => this.reloadPageIfError(),
() => {
this.ngProgress.done();
Expand Down Expand Up @@ -130,4 +130,11 @@ export class ListComponent implements OnInit {
});
}, 'Server Error !', '500px', 'warning');
}

/*-----------------------Lọc, tìm kiếm----------------------------*/
filterExams() {
this.getItems(this.subjectSelect, this.statusSelect, this.sortField, this.sortType, this.keyword);
}


}

0 comments on commit b05e4a9

Please sign in to comment.