Skip to content

Commit 896ca96

Browse files
committed
[Backport] Fixed product tier pricing pagination issue in admin
1 parent 9d6930c commit 896ca96

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
@@ -722,6 +722,8 @@ define([
722722
* @param {Number} page - current page
723723
*/
724724
changePage: function (page) {
725+
this.clear();
726+
725727
if (page === 1 && !this.recordData().length) {
726728
return false;
727729
}
@@ -763,15 +765,13 @@ define([
763765
* Change page to next
764766
*/
765767
nextPage: function () {
766-
this.clear();
767768
this.currentPage(this.currentPage() + 1);
768769
},
769770

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

0 commit comments

Comments
 (0)