diff --git a/public/react/src/modules/courses/members/teacherList.js b/public/react/src/modules/courses/members/teacherList.js index 7e0b659e4..164da95d3 100644 --- a/public/react/src/modules/courses/members/teacherList.js +++ b/public/react/src/modules/courses/members/teacherList.js @@ -447,10 +447,7 @@ class studentsList extends Component{ onPressEnter = (e) => { this.fetchAll(1) } - onPageChange = (page, pageSize) => { - this.fetchAll(page) - this.setState({ checkAllValue: false }) - } + onCheckBoxChange = (checkedValues) => { this.setState({ @@ -555,9 +552,11 @@ class studentsList extends Component{ }) return result && result.length > 0 } + onTableChange = (pagination, filters, sorter) => { console.log('Various parameters', pagination, filters, sorter); this.setState({ + page: pagination.current, sortedInfo: sorter, }, () => { this.fetchAll() @@ -668,7 +667,7 @@ class studentsList extends Component{