Skip to content

Commit 8502a66

Browse files
vedulasantoshyadvr
authored andcommitted
CLOUDSTACK-10027: Repeating the same list for Internal LB in VPC (#2216)
In VPC while scrolling down the Internal LB's list it is continuously giving the Internal LB's by repeating the same list.
1 parent a444077 commit 8502a66

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

ui/scripts/vpc.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -745,12 +745,19 @@
745745
}
746746
},
747747
dataProvider: function(args) {
748+
var data = {
749+
page: args.page,
750+
pageSize: pageSize,
751+
networkid: args.context.networks[0].id,
752+
listAll: true
753+
};
754+
var keyword = (((args || {}).filterBy || {}).search || {}).value;
755+
if (keyword) {
756+
data.keyword = keyword;
757+
}
748758
$.ajax({
749759
url: createURL('listLoadBalancers'),
750-
data: {
751-
networkid: args.context.networks[0].id,
752-
listAll: true
753-
},
760+
data: data,
754761
success: function(json) {
755762
var items = json.listloadbalancersresponse.loadbalancer;
756763
if (items != null) {

0 commit comments

Comments
 (0)