Skip to content
Snippets Groups Projects
Commit 60bbacdc authored by srosse's avatar srosse
Browse files

OO-1944: fix wrong import for sorting purpose

parent d8d9a216
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,6 @@ import org.olat.core.gui.components.form.flexible.impl.elements.table.DefaultFle
import org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableColumnModel;
import org.olat.core.gui.components.form.flexible.impl.elements.table.SortableFlexiTableDataModel;
import org.olat.core.gui.components.form.flexible.impl.elements.table.SortableFlexiTableModelDelegate;
import org.olat.course.assessment.ui.AssessmentModeListModel.Cols;
import org.olat.group.BusinessGroup;
import org.olat.modules.gotomeeting.GoToMeeting;
import org.olat.repository.RepositoryEntry;
......@@ -112,7 +111,7 @@ public class GoToMeetingTableModel extends DefaultFlexiTableDataModel<GoToMeetin
@Override
protected void sort(List<GoToMeeting> rows) {
int columnIndex = getColumnIndex();
Cols column = Cols.values()[columnIndex];
MeetingsCols column = MeetingsCols.values()[columnIndex];
switch(column) {
default: {
super.sort(rows);
......
......@@ -27,7 +27,6 @@ import org.olat.core.gui.components.form.flexible.impl.elements.table.DefaultFle
import org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableColumnModel;
import org.olat.core.gui.components.form.flexible.impl.elements.table.SortableFlexiTableDataModel;
import org.olat.core.gui.components.form.flexible.impl.elements.table.SortableFlexiTableModelDelegate;
import org.olat.course.assessment.ui.AssessmentModeListModel.Cols;
import org.olat.modules.gotomeeting.GoToOrganizer;
import org.olat.user.UserManager;
......@@ -114,7 +113,7 @@ public class GoToOrganizerTableModel extends DefaultFlexiTableDataModel<GoToOrga
@Override
protected void sort(List<GoToOrganizer> rows) {
int columnIndex = getColumnIndex();
Cols column = Cols.values()[columnIndex];
OrganizerCols column = OrganizerCols.values()[columnIndex];
switch(column) {
default: {
super.sort(rows);
......
......@@ -27,7 +27,6 @@ import org.olat.core.gui.components.form.flexible.impl.elements.table.DefaultFle
import org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableColumnModel;
import org.olat.core.gui.components.form.flexible.impl.elements.table.SortableFlexiTableDataModel;
import org.olat.core.gui.components.form.flexible.impl.elements.table.SortableFlexiTableModelDelegate;
import org.olat.course.assessment.ui.AssessmentModeListModel.Cols;
import org.olat.modules.gotomeeting.model.GoToRecordingsG2T;
/**
......@@ -97,7 +96,7 @@ public class GoToRecordingsTableModel extends DefaultFlexiTableDataModel<GoToRec
@Override
protected void sort(List<GoToRecordingsG2T> rows) {
int columnIndex = getColumnIndex();
Cols column = Cols.values()[columnIndex];
RecordingsCols column = RecordingsCols.values()[columnIndex];
switch(column) {
default: {
super.sort(rows);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment