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.
This commit is contained in:
vedulasantosh 2017-08-28 20:06:58 +05:30 committed by Rohit Yadav
parent a44407743c
commit 8502a667e5

View File

@ -745,12 +745,19 @@
}
},
dataProvider: function(args) {
var data = {
page: args.page,
pageSize: pageSize,
networkid: args.context.networks[0].id,
listAll: true
};
var keyword = (((args || {}).filterBy || {}).search || {}).value;
if (keyword) {
data.keyword = keyword;
}
$.ajax({
url: createURL('listLoadBalancers'),
data: {
networkid: args.context.networks[0].id,
listAll: true
},
data: data,
success: function(json) {
var items = json.listloadbalancersresponse.loadbalancer;
if (items != null) {