This is an automated email from the ASF dual-hosted git repository.

bhaisaab pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/master by this push:
     new 8502a66  CLOUDSTACK-10027: Repeating the same list for Internal LB in 
VPC (#2216)
8502a66 is described below

commit 8502a667e551bf993d4a57ec6a2129c732fa3e5b
Author: vedulasantosh <vedula.sant...@accelerite.com>
AuthorDate: Mon Aug 28 20:06:58 2017 +0530

    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.
---
 ui/scripts/vpc.js | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index d1a093a..8416d38 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -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) {

-- 
To stop receiving notification emails like this one, please contact
['"commits@cloudstack.apache.org" <commits@cloudstack.apache.org>'].

Reply via email to