8000 fix: update onSort to fetch total row count after sorting · frappe/insights@5494136 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5494136

Browse files
committed
fix: update onSort to fetch total row count after sorting
1 parent 630a39e commit 5494136

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

frontend/src2/charts/components/DrillDown.vue

+4
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ function onSort(newSortOrder: Record<string, 'asc' | 'desc'>) {
6060
})
6161
6262
drillDownQuery.value.execute()
63+
.then(() => drillDownQuery.value?.fetchResultCount())
64+
.catch((error) => {
65+
console.error('Failed to sort and fetch row count:', error)
66+
});
6367
}
6468
}
6569

0 commit comments

Comments
 (0)
0