diff --git a/public/react/src/modules/courses/shixunHomework/Listofworks.js b/public/react/src/modules/courses/shixunHomework/Listofworks.js index 581906575..2fcc21cca 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworks.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworks.js @@ -1933,14 +1933,14 @@ class Listofworks extends Component { loadingstate: true, }) - this.Startsorting(this.state.order, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page, this.state.limit); + this.Startsorting(this.state.order, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, null, this.state.limit); } else if (checkedValues.length === data.length) { this.setState({ unlimited: 0, course_groupyslstwo: [], loadingstate: true, }) - this.Startsorting(this.state.order, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page, this.state.limit); + this.Startsorting(this.state.order, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, null, this.state.limit); } else { // console.log(checkedValues); this.setState({ @@ -1948,7 +1948,7 @@ class Listofworks extends Component { unlimited: 1, loadingstate: true }) - this.Startsorting(this.state.order, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page, this.state.limit); + this.Startsorting(this.state.order, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, null, this.state.limit); } @@ -1965,9 +1965,9 @@ class Listofworks extends Component { course_groupysls: undefined, checkedValuesineinfo:[], loadingstate: true, - + page: 1, }) - this.Startsorting(this.state.order, this.state.course_groupyslstwo, checkedValues, this.state.searchtext, this.state.page, this.state.limit); + this.Startsorting(this.state.order, this.state.course_groupyslstwo, checkedValues, this.state.searchtext, 1, this.state.limit); } else if (checkedValues.length === data.length) { this.setState({ unlimitedtwo: 1, @@ -1975,7 +1975,7 @@ class Listofworks extends Component { checkedValuesineinfo:[], loadingstate: true, }) - this.Startsorting(this.state.order, this.state.checcourse_groupyslstwokedValuesine, checkedValues, this.state.searchtext, this.state.page, this.state.limit); + this.Startsorting(this.state.order, this.state.checcourse_groupyslstwokedValuesine, checkedValues, this.state.searchtext, 1, this.state.limit); } else { this.setState({ checkedValuesineinfo: checkedValues, @@ -1983,7 +1983,7 @@ class Listofworks extends Component { unlimitedtwo: 0, loadingstate: true, }) - this.Startsorting(this.state.order, this.state.course_groupyslstwo, checkedValues, this.state.searchtext, this.state.page, this.state.limit); + this.Startsorting(this.state.order, this.state.course_groupyslstwo, checkedValues, this.state.searchtext, 1, this.state.limit); }