Merge pull request #2705 from mvanhelmont/patch-3
U4-11452 umbPagination directive does not update when pagesize dynamically changed
This commit is contained in:
@@ -170,7 +170,7 @@ Use this directive to generate a pagination.
|
||||
}
|
||||
};
|
||||
|
||||
var unbindPageNumberWatcher = scope.$watch('pageNumber', function(newValue, oldValue){
|
||||
var unbindPageNumberWatcher = scope.$watchCollection('[pageNumber, totalPages]', function (newValues, oldValues) {
|
||||
activate();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user