Alexander Wels has uploaded a new change for review.

Change subject: userportal,webadmin: next page not working
......................................................................

userportal,webadmin: next page not working

- Due to commit d98ef3131f9fd6ff3fcbad02a3601a52392d2800
  the next page wasn't working anymore. This was caused
  by reverse boolean check. This patch fixes the check.

Change-Id: I096ae25229b839c27c288040d7996eeb468acb63
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1123614
Signed-off-by: Alexander Wels <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/SearchableListModel.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/10/31410/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/SearchableListModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/SearchableListModel.java
index 270a163..73846ad 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/SearchableListModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/SearchableListModel.java
@@ -702,7 +702,7 @@
     protected boolean getNextSearchPageAllowed()
     {
         if (!getSearchNextPageCommand().getIsAvailable() || getItems() == null
-                || getItems().iterator().hasNext())
+                || !getItems().iterator().hasNext())
         {
             return false;
         }


-- 
To view, visit http://gerrit.ovirt.org/31410
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I096ae25229b839c27c288040d7996eeb468acb63
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alexander Wels <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to