aboutsummaryrefslogtreecommitdiffstats
path: root/termui/bug_table.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-12-08 14:42:13 +0100
committerMichael Muré <batolettre@gmail.com>2020-12-08 14:42:13 +0100
commitc884d557bf5e0ebdbe6e3b20535af24c2e97d29f (patch)
tree3bb95fcf0d6a2a19e6915cdcc1da4d70bc448bb4 /termui/bug_table.go
parent71e1303234ef227851998f08c98c7c69670c9966 (diff)
downloadgit-bug-c884d557bf5e0ebdbe6e3b20535af24c2e97d29f.tar.gz
repo: move bleve there
Diffstat (limited to 'termui/bug_table.go')
-rw-r--r--termui/bug_table.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/termui/bug_table.go b/termui/bug_table.go
index d3a187db..94185a29 100644
--- a/termui/bug_table.go
+++ b/termui/bug_table.go
@@ -237,7 +237,11 @@ func (bt *bugTable) disable(g *gocui.Gui) error {
}
func (bt *bugTable) paginate(max int) error {
- bt.allIds = bt.repo.QueryBugs(bt.query)
+ var err error
+ bt.allIds, err = bt.repo.QueryBugs(bt.query)
+ if err != nil {
+ return err
+ }
return bt.doPaginate(max)
}