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

oourfali at redhat.com oourfali at redhat.com
Tue Jun 16 10:09:10 UTC 2015


Oved Ourfali has submitted this change and it was merged.

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


reset page to 1 on sort

webadmin: reset page to 1 on sort

- In the scenario 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=1223770
Signed-off-by: Eli Mesika <emesika 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:
  Eli Mesika: Verified
  Alexander Wels: Looks good to me, approved
  Jenkins CI: Verified; Looks good to me, but someone else must approve
  Moti Asayag: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0b0a974c65c261081f1c942b2b35e75e806a86a6
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list