diff --git a/src/components/sites/allAccessibleExercisesSite/closedExercisesSite/listView.tsx b/src/components/sites/allAccessibleExercisesSite/closedExercisesSite/listView.tsx index 3697bc0e5120c33e74b749e8241187aa4ee62e87..a873edd5bc5081bc411ad5a233cd09e0342dd0db 100644 --- a/src/components/sites/allAccessibleExercisesSite/closedExercisesSite/listView.tsx +++ b/src/components/sites/allAccessibleExercisesSite/closedExercisesSite/listView.tsx @@ -213,10 +213,10 @@ class AllAccessibleExercisesList extends React.Component<Props, any> { <Table.HeaderCell> <span className="clickable" onClick={() => { - this.props.setSortByKey('lastUpdatedAt', + this.props.setSortByKey('releasedForPLangId', rotateSorting<ExercisePreviewFromBackend>(this.props.sortDirection, this.props.sortByKey, - 'lastUpdatedAt', + 'releasedForPLangId', ), this.props.displayAsViaCode ) diff --git a/src/components/sites/allAccessibleExercisesSite/openExercises/listView.tsx b/src/components/sites/allAccessibleExercisesSite/openExercises/listView.tsx index 3a02c37e8e35c0355edef0a0b2a2b35f633bdda7..2b32075bdc0c1b05af88e4b2938c468943386fa6 100644 --- a/src/components/sites/allAccessibleExercisesSite/openExercises/listView.tsx +++ b/src/components/sites/allAccessibleExercisesSite/openExercises/listView.tsx @@ -222,10 +222,10 @@ class AllAccessibleExercisesList extends React.Component<Props, any> { <Table.HeaderCell> <span className="clickable" onClick={() => { - this.props.setSortByKey('lastUpdatedAt', + this.props.setSortByKey('releasedForPLangId', rotateSorting<ExercisePreviewFromBackend>(this.props.sortDirection, this.props.sortByKey, - 'lastUpdatedAt', + 'releasedForPLangId', ), this.props.displayAsViaCode ) diff --git a/src/constants.ts b/src/constants.ts index fa0a7369840eb55d4f206b4ff4c52264ed2ddcd3..cb692e078a2dc62259e10a4add2a89405ad090f8 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -13,7 +13,7 @@ import Logger from './helpers/logger' * y - breaking changes / new features * z - fixes, small changes */ -export const versionString = '2.18.1' +export const versionString = '2.18.2' export const supportMail = 'yapex@informatik.uni-halle.de' @@ -406,4 +406,4 @@ export const dashboardRefreshIntervalInS = 5 export const compileTimeoutDefaultsInMs = 3000 export const markdownPLangBlocksClass = `plang-part` -export const markdownPLangBlockDataLangAttribute = `data-programming-lang` \ No newline at end of file +export const markdownPLangBlockDataLangAttribute = `data-programming-lang`