Change in ovirt-engine[master]: webadmin: data table show '0 - 0' when no records to display

Code Review gerrit at ovirt.org
Fri Jul 28 19:45:24 UTC 2017


>From Alexander Wels <awels at redhat.com>:

Alexander Wels has submitted this change and it was merged. ( https://gerrit.ovirt.org/79942 )

Change subject: webadmin: data table show '0 - 0' when no records to display
......................................................................


webadmin: data table show '0 - 0' when no records to display

When a data table had no records to show, the from count would
be '1' while the to/total count would be '0'.  Showing record
'1 - 0' doesn't make sense. Now when no records are returned,
the from is set to '0'.

Change-Id: I1164429f53e6b62430e4cc094d0736a0fecfdf37
Signed-off-by: Scott J Dickerson <sdickers at redhat.com>
---
M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/SimpleActionTable.java
1 file changed, 12 insertions(+), 2 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Greg Sheremeta: Looks good to me, approved
  Scott Dickerson: Verified



-- 
To view, visit https://gerrit.ovirt.org/79942
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1164429f53e6b62430e4cc094d0736a0fecfdf37
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Scott Dickerson <sdickers at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Greg Sheremeta <gshereme at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Scott Dickerson <sdickers at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list