This commit is contained in:
IGNY8 VPS (Salman)
2025-12-15 10:31:20 +00:00
parent 1ef4bb7db6
commit 7fb2a9309e
10 changed files with 352 additions and 248 deletions

View File

@@ -134,7 +134,7 @@ export const createClustersPageConfig = (
{
key: 'ideas_count',
label: 'Ideas',
sortable: true,
sortable: false, // Backend doesn't support sorting by ideas_count
sortField: 'ideas_count',
width: '120px',
render: (value: number) => value.toLocaleString(),
@@ -180,7 +180,7 @@ export const createClustersPageConfig = (
{
key: 'content_count',
label: 'Content',
sortable: true,
sortable: false, // Backend doesn't support sorting by content_count
sortField: 'content_count',
width: '120px',
render: (value: number) => value.toLocaleString(),
@@ -220,7 +220,7 @@ export const createClustersPageConfig = (
{
key: 'mapped_pages',
label: 'Mapped Pages',
sortable: true,
sortable: false, // Backend doesn't support sorting by mapped_pages
sortField: 'mapped_pages',
defaultVisible: false,
width: '120px',
@@ -229,7 +229,7 @@ export const createClustersPageConfig = (
{
key: 'updated_at',
label: 'Updated',
sortable: true,
sortable: false, // Backend doesn't support sorting by updated_at
sortField: 'updated_at',
defaultVisible: false,
render: (value: string) => formatRelativeDate(value),