mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed incorrect sorting of size in statistics tab. #7542
This commit is contained in:
parent
9279393dcd
commit
31a91409a0
@ -40,6 +40,7 @@ Bug fixes
|
||||
| `Issue #7516 <https://github.com/pgadmin-org/pgadmin4/issues/7516>`_ - Ensure preferences can be loaded using preferences.json.
|
||||
| `Issue #7528 <https://github.com/pgadmin-org/pgadmin4/issues/7528>`_ - Fixed an issue where backslash breaks syntax highlighting.
|
||||
| `Issue #7536 <https://github.com/pgadmin-org/pgadmin4/issues/7536>`_ - Search Objects dialog should focus on search input on open.
|
||||
| `Issue #7542 <https://github.com/pgadmin-org/pgadmin4/issues/7542>`_ - Fixed incorrect sorting of size in statistics tab.
|
||||
| `Issue #7555 <https://github.com/pgadmin-org/pgadmin4/issues/7555>`_ - Fixed an issue where query tool shortcuts for find/replace are not working.
|
||||
| `Issue #7556 <https://github.com/pgadmin-org/pgadmin4/issues/7556>`_ - Fixed migration failure while using external database.
|
||||
| `Issue #7593 <https://github.com/pgadmin-org/pgadmin4/issues/7593>`_ - Fixed an issue where query tool auto-complete stops working after connection change.
|
@ -45,6 +45,7 @@ function getColumn(data, singleLineStatistics, prettifyFields=[]) {
|
||||
enableSorting: true,
|
||||
enableResizing: true,
|
||||
enableFilters: true,
|
||||
sortingFn: 'alphanumeric',
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@ -242,11 +242,12 @@ export function PgReactTableHeader({table}) {
|
||||
flex: `var(--header-${header?.id.replace(/\W/g, '_')}-size) 0 auto`,
|
||||
width: `calc(var(--header-${header?.id.replace(/\W/g, '_')}-size)*1px)`,
|
||||
...(header.column.columnDef.maxSize ? { maxWidth: `${header.column.columnDef.maxSize}px` } : {}),
|
||||
cursor: header.column.getCanSort() ? 'pointer' : 'initial',
|
||||
}}
|
||||
onClick={header.column.getCanSort() ? header.column.getToggleSortingHandler() : undefined}
|
||||
>
|
||||
<div title={flexRender(header.column.columnDef.header, header.getContext())}>
|
||||
<div title={flexRender(header.column.columnDef.header, header.getContext())}
|
||||
style={{cursor: header.column.getCanSort() ? 'pointer' : 'initial'}}
|
||||
onClick={header.column.getCanSort() ? header.column.getToggleSortingHandler() : undefined}
|
||||
>
|
||||
{flexRender(header.column.columnDef.header, header.getContext())}
|
||||
{header.column.getCanSort() && header.column.getIsSorted() &&
|
||||
<span>
|
||||
|
Loading…
Reference in New Issue
Block a user