Skip to content

Commit

Permalink
Merge pull request #573 from BloomBooks/BL13994_ReadStartsFinishes
Browse files Browse the repository at this point in the history
Fix new column sorting (BL-13394)
  • Loading branch information
andrew-polk authored Oct 25, 2024
2 parents 7fad575 + be1d230 commit feedeef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Grid/GridColumns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -366,21 +366,21 @@ export function getBookGridColumnsDefinitions(): IGridColumn[] {
defaultVisible: false,
},
{
name: "readsStarted",
name: "analytics_startedCount",
title: "Reads Started",
sortingEnabled: true,
getCellValue: (b: Book) => b.stats.startedCount,
defaultVisible: false,
},
{
name: "reads", // historical name; keep for backward compatibility
name: "analytics_finishedCount",
title: "Reads Finished",
sortingEnabled: true,
getCellValue: (b: Book) => b.stats.finishedCount,
defaultVisible: false,
},
{
name: "downloadsForTranslation",
name: "analytics_shellDownloads",
title: "Downloads for Translation",
sortingEnabled: true,
getCellValue: (b: Book) => b.stats.shellDownloads,
Expand Down

0 comments on commit feedeef

Please sign in to comment.