Daniel Erez has posted comments on this change.

Change subject: webadmin: Support column sorting
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.ovirt.org/#/c/25910/3/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/datacenter/SubTabDataCenterClusterView.java
File 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/datacenter/SubTabDataCenterClusterView.java:

Line 34:             }
Line 35:         };
Line 36:         nameColumn.makeSortable(new Comparator<VDSGroup>() {
Line 37:             @Override
Line 38:             public int compare(VDSGroup a, VDSGroup b) {
> > Can we add to the infrastructure some flag/mechanism for indicating wheth
+1. Sounds simple enough :) It would indeed be best if we obscure it in the 
infrastructure.
Line 39:                 if (a == b) {
Line 40:                     return 0;
Line 41:                 } else if (a == null) {
Line 42:                     return -1;


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I141ea068fe90409852d34bea6fedb45d0d8a07ae
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vojtech Szocs <[email protected]>
Gerrit-Reviewer: Alexander Wels <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Einav Cohen <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Greg Sheremeta <[email protected]>
Gerrit-Reviewer: Lior Vernia <[email protected]>
Gerrit-Reviewer: Tomas Jelinek <[email protected]>
Gerrit-Reviewer: Vojtech Szocs <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to