aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-02 16:36:48 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-02 16:36:48 +0200
commit0728c0050d82171659474900c407e1b6dcee43a5 (patch)
tree73473697a596bb0e93b30ab9a68fd25e7c3af98c /commands
parente3c445fa85db65b084580a38b919f17b8f8c2b68 (diff)
downloadgit-bug-0728c0050d82171659474900c407e1b6dcee43a5.tar.gz
cache: provide a generic bug sorting function
Diffstat (limited to 'commands')
-rw-r--r--commands/ls.go2
1 files changed, 1 insertions, 1 deletions
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)