We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7532620 + 9d2b93c commit 7f65902Copy full SHA for 7f65902
app/code/Magento/Ui/view/base/web/js/dynamic-rows/dynamic-rows.js
@@ -721,6 +721,8 @@ define([
721
* @param {Number} page - current page
722
*/
723
changePage: function (page) {
724
+ this.clear();
725
+
726
if (page === 1 && !this.recordData().length) {
727
return false;
728
}
@@ -762,15 +764,13 @@ define([
762
764
* Change page to next
763
765
766
nextPage: function () {
- this.clear();
767
this.currentPage(this.currentPage() + 1);
768
},
769
770
/**
771
* Change page to previous
772
773
previousPage: function () {
774
this.currentPage(this.currentPage() - 1);
775
776
0 commit comments