mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
[Programme courses] Default sort by total credits
This commit is contained in:
+8
@@ -117,6 +117,14 @@ export const OverallStatsTable = ({
|
||||
state: {
|
||||
useZebrastripes: false,
|
||||
},
|
||||
initialState: {
|
||||
sorting: [
|
||||
{
|
||||
id: 'totalAllCredits',
|
||||
desc: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
return <OodiTable columns={columns} cy="overall-stats-table" data={filteredData} options={options} />
|
||||
|
||||
Reference in New Issue
Block a user