From d4ae1c7a744698ad981552f3ec25d00600794a74 Mon Sep 17 00:00:00 2001 From: Niko Janceski Date: Sat, 11 Feb 2023 13:51:29 -0500 Subject: [PATCH] Add sort by pod count on node view (#1961) --- internal/view/node.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/view/node.go b/internal/view/node.go index 6039fd8a..a025de51 100644 --- a/internal/view/node.go +++ b/internal/view/node.go @@ -57,6 +57,7 @@ func (n *Node) bindKeys(aa ui.KeyActions) { ui.KeyY: ui.NewKeyAction("YAML", n.yamlCmd, true), ui.KeyShiftC: ui.NewKeyAction("Sort CPU", n.GetTable().SortColCmd(cpuCol, false), false), ui.KeyShiftM: ui.NewKeyAction("Sort MEM", n.GetTable().SortColCmd(memCol, false), false), + ui.KeyShift0: ui.NewKeyAction("Sort Pods", n.GetTable().SortColCmd("PODS", false), false), }) }