From b9d382fefe631a39a360bbca05e5a282fa64c89c Mon Sep 17 00:00:00 2001 From: marston Date: Fri, 11 Oct 2024 15:58:39 -0400 Subject: [PATCH] adding pagination fix --- strays/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strays/manager.go b/strays/manager.go index f8039be..eaa92d5 100644 --- a/strays/manager.go +++ b/strays/manager.go @@ -182,7 +182,7 @@ func (s *StrayManager) RefreshList() error { s.strays = append(s.strays, &newStray) } - s.lastSize = res.Size() + s.lastSize = int(res.Pagination.Total) return nil }