From 0728c0050d82171659474900c407e1b6dcee43a5 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 2 Sep 2018 16:36:48 +0200 Subject: cache: provide a generic bug sorting function --- commands/ls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands') diff --git a/commands/ls.go b/commands/ls.go index 03ea1255..ea5418c4 100644 --- a/commands/ls.go +++ b/commands/ls.go @@ -15,7 +15,7 @@ func runLsBug(cmd *cobra.Command, args []string) error { return err } - allIds := backend.AllBugsOrderByCreation() + allIds := backend.AllBugsId(cache.OrderByCreation, cache.OrderAscending) for _, id := range allIds { b, err := backend.ResolveBug(id) -- cgit