Bug 1351568 - UI: Item count shows (items 1-0 of 0) when there is no item on that page
Summary: UI: Item count shows (items 1-0 of 0) when there is no item on that page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.7.0
Assignee: Jozef Zigmund
QA Contact: Satyajit Bulage
URL:
Whiteboard: ui
Depends On:
Blocks: 1370194
TreeView+ depends on / blocked
 
Reported: 2016-06-30 10:56 UTC by Satyajit Bulage
Modified: 2017-01-12 05:07 UTC (History)
7 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1370194 (view as bug list)
Environment:
Last Closed: 2017-01-11 19:50:55 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot showing actual results (58.37 KB, image/png)
2016-06-30 10:56 UTC, Satyajit Bulage
no flags Details

Description Satyajit Bulage 2016-06-30 10:56:11 UTC
Created attachment 1174494 [details]
Screenshot showing actual results

Description of problem:When there is no/zero Provider in Clouds still item count is shown as (items 1-0 of 0) 


Version-Release number of selected component (if applicable):5.5.5.0.20160628144838_629f93b


How reproducible:100%


Steps to Reproduce:
1.Navigate to Clouds -->Providers
2.See at bottom right corner 


Actual results:
Actual results:Page shows (items 1-0 of 0) when there is no item

Expected results:
It should display right count (items 0 of 0) when there is no item on page

Additional info:
This is also applicable for Infrastructure and Containers.

Comment 4 CFME Bot 2016-08-02 22:31:53 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=8195347c9647cd43be2b18116a396f4c4c61d2c6

commit 8195347c9647cd43be2b18116a396f4c4c61d2c6
Merge: a4c2c29 05558bd
Author:     Dan Clarizio <dclarizi>
AuthorDate: Tue Aug 2 18:28:58 2016 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Tue Aug 2 18:28:58 2016 -0400

    Merge branch 'bz1351568-fix_items_counter_when_zero' into '5.5.z'
    
    Fix 0 items count in pagination control
    
    When was zero items in list table, it has showed 1 instead of 0
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1351568
    
    
    See merge request !1018

 app/views/layouts/_pagingcontrols.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 6 Satyajit Bulage 2016-10-03 10:01:45 UTC
It is displaying right count (items 0 of 0) when there is no item on page.


Verified Version:-5.7.0.3.20160927165516_075d0f3


Note You need to log in before you can comment on or make changes to this bug.