1
0
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:
Mateusz Kwasniewski 2023-12-15 12:56:06 +01:00 committed by GitHub
parent bf4d37fded
commit 8283edfc0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,6 @@ const FeatureToggleListTableComponent: VFC = () => {
columnHelper.accessor('stale', {
header: 'State',
cell: ({ getValue }) => <FeatureStaleCell value={getValue()} />,
enableSorting: false,
}),
],
[tableState.favoritesFirst],

View File

@ -228,6 +228,7 @@ class FeatureSearchStore implements IFeatureSearchStore {
name: 'features.name',
type: 'features.type',
lastSeenAt: lastSeenQuery,
stale: 'features.stale',
};
let rankingSql = 'order by ';