Skip to content

Commit

Permalink
feat: Sort by stale (#5653)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Dec 15, 2023
1 parent bf4d37f commit 8283edf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Expand Up @@ -219,7 +219,6 @@ const FeatureToggleListTableComponent: VFC = () => {
columnHelper.accessor('stale', {
header: 'State',
cell: ({ getValue }) => <FeatureStaleCell value={getValue()} />,
enableSorting: false,
}),
],
[tableState.favoritesFirst],
Expand Down
1 change: 1 addition & 0 deletions src/lib/features/feature-search/feature-search-store.ts
Expand Up @@ -228,6 +228,7 @@ class FeatureSearchStore implements IFeatureSearchStore {
name: 'features.name',
type: 'features.type',
lastSeenAt: lastSeenQuery,
stale: 'features.stale',
};

let rankingSql = 'order by ';
Expand Down

0 comments on commit 8283edf

Please sign in to comment.