Skip to content

Commit 7f65902

Browse files
author
Stanislav Idolov
authored
ENGCOM-1653: 15210-Fixed product tier pricing pagination issue in admin #15360
2 parents 7532620 + 9d2b93c commit 7f65902

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Ui/view/base/web/js/dynamic-rows/dynamic-rows.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,8 @@ define([
721721
* @param {Number} page - current page
722722
*/
723723
changePage: function (page) {
724+
this.clear();
725+
724726
if (page === 1 && !this.recordData().length) {
725727
return false;
726728
}
@@ -762,15 +764,13 @@ define([
762764
* Change page to next
763765
*/
764766
nextPage: function () {
765-
this.clear();
766767
this.currentPage(this.currentPage() + 1);
767768
},
768769

769770
/**
770771
* Change page to previous
771772
*/
772773
previousPage: function () {
773-
this.clear();
774774
this.currentPage(this.currentPage() - 1);
775775
},
776776

0 commit comments

Comments
 (0)