Skip to content

Commit 87d5ab1

Browse files
authored
remove rating for sortable fields in client and server (#599)
1 parent 679b4ce commit 87d5ab1

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

src/main/java/de/tum/cit/aet/evaluation/service/ApplicationEvaluationService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class ApplicationEvaluationService {
4848

4949
private static final Set<ApplicationState> REVIEW_STATES = Set.of(ApplicationState.SENT, ApplicationState.IN_REVIEW);
5050

51-
private static final Set<String> SORTABLE_FIELDS = Set.of("rating", "createdAt", "applicant.lastName");
51+
private static final Set<String> SORTABLE_FIELDS = Set.of("createdAt", "applicant.lastName");
5252

5353
/**
5454
* Accepts the specified application and updates its state.

src/main/webapp/app/evaluation/filterSortOptions.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,6 @@ export const filterFields: FilterField[] = [
1818
];
1919

2020
export const sortOptions: SortOption[] = [
21-
{
22-
displayName: 'Rating (Worst to Best)',
23-
field: 'rating',
24-
direction: 'ASC',
25-
},
26-
{
27-
displayName: 'Rating (Best to Worst)',
28-
field: 'rating',
29-
direction: 'DESC',
30-
},
3121
{
3222
displayName: 'Applied at (Oldest to Newest)',
3323
field: 'createdAt',

0 commit comments

Comments
 (0)