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(a)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(a)redhat.com>
Gerrit-Reviewer: Alexander Wels <awels(a)redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen(a)redhat.com>
Gerrit-Reviewer: Greg Sheremeta <gshereme(a)redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server