Skip to content

Commit

Permalink
fix: disable client-side sorting on trace/span tables (#2958)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking committed Apr 23, 2024
1 parent 5b6b217 commit 139dc3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/pages/project/SpansTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ export function SpansTable(props: SpansTableProps) {
sorting,
columnVisibility,
},
manualSorting: true,
onSortingChange: setSorting,
getCoreRowModel: getCoreRowModel(),
getSortedRowModel: getSortedRowModel(),
Expand Down
1 change: 1 addition & 0 deletions app/src/pages/project/TracesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ export function TracesTable(props: TracesTableProps) {
columns,
data: tableData,
onExpandedChange: setExpanded,
manualSorting: true,
getSubRows: (row) => row.children,
state: {
sorting,
Expand Down

0 comments on commit 139dc3e

Please sign in to comment.