mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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:
parent
a44407743c
commit
8502a667e5
@ -745,12 +745,19 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
dataProvider: function(args) {
|
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({
|
$.ajax({
|
||||||
url: createURL('listLoadBalancers'),
|
url: createURL('listLoadBalancers'),
|
||||||
data: {
|
data: data,
|
||||||
networkid: args.context.networks[0].id,
|
|
||||||
listAll: true
|
|
||||||
},
|
|
||||||
success: function(json) {
|
success: function(json) {
|
||||||
var items = json.listloadbalancersresponse.loadbalancer;
|
var items = json.listloadbalancersresponse.loadbalancer;
|
||||||
if (items != null) {
|
if (items != null) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user