Commented GWT.log
Added order by Name git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@128990 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ea54b0aabb
commit
6111e6bc2b
|
@ -272,7 +272,7 @@ public class ItemsTable<T extends Item> extends AbstractItemsCellTable<T> implem
|
|||
Date d1 = ((Item) o1).getCreationDate();
|
||||
Date d2 = ((Item) o2).getCreationDate();
|
||||
|
||||
GWT.log(d1.toString() + "is after "+d2.toString() +" ? "+d2.after(d1));
|
||||
// GWT.log(d1.toString() + "is after "+d2.toString() +" ? "+d2.after(d1));
|
||||
|
||||
if(d1.after(d2))
|
||||
return 1;
|
||||
|
@ -407,7 +407,7 @@ public class ItemsTable<T extends Item> extends AbstractItemsCellTable<T> implem
|
|||
switch (startSortByColumn) {
|
||||
case NAME:
|
||||
if(this.displayFields.contains(DISPLAY_FIELD.NAME)){
|
||||
// sortedCellTable.setInitialSortColumn(name);
|
||||
sortedCellTable.setInitialSortColumn(name);
|
||||
// sortedCellTable.getColumnSortList().clear();
|
||||
// sortedCellTable.getColumnSortList().push(name);
|
||||
// ColumnSortEvent.fire(sortedCellTable, sortedCellTable.getColumnSortList());
|
||||
|
|
Loading…
Reference in New Issue