Change in ovirt-engine[master]: webadmin: reset page to 1 on sort

awels at redhat.com awels at redhat.com
Mon Dec 15 15:44:55 UTC 2014


Alexander Wels has submitted this change and it was merged.

Change subject: webadmin: reset page to 1 on sort
......................................................................


webadmin: reset page to 1 on sort

- In the scenaria where you have multiple pages and you select
  and item, it is possible for a sort operation to make the
  selected item unavailable on the current page. This leaves the
  user on a page that is no longer of interest to them. So to
  not confuse the user too much we will reset the page to the first
  page when sorting.

Change-Id: I0b0a974c65c261081f1c942b2b35e75e806a86a6
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1119309
Signed-off-by: Alexander Wels <awels at redhat.com>
---
M backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/SyntaxChecker.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/SearchableListModel.java
2 files changed, 26 insertions(+), 53 deletions(-)

Approvals:
  Alexander Wels: Verified
  Greg Sheremeta: Looks good to me, but someone else must approve
  Vojtech Szocs: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0b0a974c65c261081f1c942b2b35e75e806a86a6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen at redhat.com>
Gerrit-Reviewer: Greg Sheremeta <gshereme at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list