NO-JIRA browsing messages do not change items per page

This commit is contained in:
Stanislav Knot 2018-03-26 17:15:55 +02:00 committed by Clebert Suconic
parent ef74221684
commit d6ff3e55d3
7 changed files with 8 additions and 1 deletions

View File

@ -193,6 +193,7 @@ var ARTEMIS = (function(ARTEMIS) {
}
if (parseInt(newVal.pageSize) && newVal !== oldVal && newVal.pageSize !== oldVal.pageSize) {
$scope.pagingOptions.currentPage = 1;
$scope.loadTable();
}
}, true);

View File

@ -117,7 +117,8 @@ var ARTEMIS = (function(ARTEMIS) {
loadTable();
}
if (parseInt(newVal.pageSize) && newVal !== oldVal && newVal.pageSize !== oldVal.pageSize) {
$scope.pagingOptions.currentPage = 1;
$scope.pagingOptions.currentPage = 1;
loadTable();
}
}, true);
$scope.openMessageDialog = function (message) {

View File

@ -230,6 +230,7 @@ var ARTEMIS = (function(ARTEMIS) {
}
if (parseInt(newVal.pageSize) && newVal !== oldVal && newVal.pageSize !== oldVal.pageSize) {
$scope.pagingOptions.currentPage = 1;
$scope.loadTable();
}
}, true);

View File

@ -254,6 +254,7 @@ var ARTEMIS = (function(ARTEMIS) {
}
if (parseInt(newVal.pageSize) && newVal !== oldVal && newVal.pageSize !== oldVal.pageSize) {
$scope.pagingOptions.currentPage = 1;
$scope.loadTable();
}
}, true);

View File

@ -219,6 +219,7 @@ var ARTEMIS = (function(ARTEMIS) {
}
if (parseInt(newVal.pageSize) && newVal !== oldVal && newVal.pageSize !== oldVal.pageSize) {
$scope.pagingOptions.currentPage = 1;
$scope.loadTable();
}
}, true);

View File

@ -293,6 +293,7 @@ var ARTEMIS = (function(ARTEMIS) {
}
if (parseInt(newVal.pageSize) && newVal !== oldVal && newVal.pageSize !== oldVal.pageSize) {
$scope.pagingOptions.currentPage = 1;
$scope.loadTable();
}
}, true);

View File

@ -249,6 +249,7 @@ var ARTEMIS = (function(ARTEMIS) {
}
if (parseInt(newVal.pageSize) && newVal !== oldVal && newVal.pageSize !== oldVal.pageSize) {
$scope.pagingOptions.currentPage = 1;
$scope.loadTable();
}
}, true);