[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14710771#comment-14710771
 ] 

ASF GitHub Bot commented on CLOUDSTACK-8766:
--------------------------------------------

Github user bhaisaab commented on the pull request:

    https://github.com/apache/cloudstack/pull/740#issuecomment-134508369
  
    @karuturi the sharedFunctions.js defines a global pagesize (fixed to value 
20)
    
    See in the screenshot; the listTemplates call does not call the API with a 
page, pagesize - this causes the infinite scroll to flood the list every time 
to drag it if the number of zones exceed what could fit in that table view. 
This patch fixes that.
    
    ![screen shot 2015-08-25 at 12 50 04 
pm](https://cloud.githubusercontent.com/assets/95203/9460948/0a3c198c-4b28-11e5-9a2e-af0b260633e6.png)



> In zone based template listings, infinite scrolling pagination is broken
> ------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8766
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8766
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>    Affects Versions: 4.5.0, 4.5.1, 4.5.2
>            Reporter: Rohit Yadav
>            Assignee: Rohit Yadav
>            Priority: Minor
>             Fix For: 4.5.3, 4.6.0
>
>
> On the template page, when a template is select, goto Zones tab and scroll to 
> list all the templates. In case the number of zones are more than 20 there is 
> an infinite scrolling/listing issue as it does not paginate the result. The 
> fix would be to use listViewDataProvider to get pagination when requesting 
> the API.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to