Skip to content

Commit 2d7797c

Browse files
refactor: Change order of stack in table
1 parent 39b1203 commit 2d7797c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/cmd/stack/list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ func listStacksJSON(ctx *cli.Context) error {
3939
func listStacksTable(ctx *cli.Context) error {
4040
stacks, err := searchStacks(ctx.Context, structs.SearchInput{
4141
OrderBy: &structs.QueryOrder{
42-
Field: "name",
43-
Direction: "ASC",
42+
Field: "starred",
43+
Direction: "DESC",
4444
},
4545
})
4646
if err != nil {

0 commit comments

Comments
 (0)