mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
feat: Sort by stale (#5653)
This commit is contained in:
parent
bf4d37fded
commit
8283edfc0a
@ -219,7 +219,6 @@ const FeatureToggleListTableComponent: VFC = () => {
|
|||||||
columnHelper.accessor('stale', {
|
columnHelper.accessor('stale', {
|
||||||
header: 'State',
|
header: 'State',
|
||||||
cell: ({ getValue }) => <FeatureStaleCell value={getValue()} />,
|
cell: ({ getValue }) => <FeatureStaleCell value={getValue()} />,
|
||||||
enableSorting: false,
|
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
[tableState.favoritesFirst],
|
[tableState.favoritesFirst],
|
||||||
|
@ -228,6 +228,7 @@ class FeatureSearchStore implements IFeatureSearchStore {
|
|||||||
name: 'features.name',
|
name: 'features.name',
|
||||||
type: 'features.type',
|
type: 'features.type',
|
||||||
lastSeenAt: lastSeenQuery,
|
lastSeenAt: lastSeenQuery,
|
||||||
|
stale: 'features.stale',
|
||||||
};
|
};
|
||||||
|
|
||||||
let rankingSql = 'order by ';
|
let rankingSql = 'order by ';
|
||||||
|
Loading…
Reference in New Issue
Block a user