Skip to content

Commit

Permalink
ui: fix default jobs page sort
Browse files Browse the repository at this point in the history
In #18137 a column was added, but the default sort
(which is specified by index) was not updated.  This
updates it to correctly sort on creation time.

Fixes: #30418
Release note (admin ui change): Fixes an issue where
the default sort on the Jobs page was incorrectly
the User column rather than the Creation Time.
  • Loading branch information
couchand committed Sep 19, 2018
1 parent 9a4cc88 commit 670bef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ui/src/views/jobs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const jobsTableColumns: ColumnDescriptor<Job>[] = [
const sortSetting = new LocalSetting<AdminUIState, SortSetting>(
"jobs/sort_setting",
s => s.localSettings,
{ sortKey: 2 /* creation time */, ascending: false },
{ sortKey: 3 /* creation time */, ascending: false },
);

interface JobsTableProps {
Expand Down

0 comments on commit 670bef4

Please sign in to comment.