diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupList.java b/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupList.java index 12898a5b..1ed85569 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupList.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupList.java @@ -128,13 +128,13 @@ public class LmsSetupList implements TemplateComposer { Domain.LMS_SETUP.ATTR_NAME, NAME_TEXT_KEY, LmsSetup::getName) - .withFilter((isSEBAdmin) ? this.nameFilter : null) + .withFilter(this.nameFilter) .sortable()) .withColumn(new ColumnDefinition<>( Domain.LMS_SETUP.ATTR_LMS_TYPE, TYPE_TEXT_KEY, this::lmsSetupTypeName) - .withFilter((isSEBAdmin) ? this.typeFilter : null) + .withFilter(this.typeFilter) .localized() .sortable()) diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/table/TableFilter.java b/src/main/java/ch/ethz/seb/sebserver/gui/table/TableFilter.java index f4fedc5f..e133c228 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/table/TableFilter.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/table/TableFilter.java @@ -238,11 +238,6 @@ public class TableFilter { return this; } - @Override - boolean adaptWidth(final int width) { - return super.adaptWidth(width - 2 * CELL_WIDTH_ADJUSTMENT); - } - @Override FilterComponent reset() { return this;