diff --git a/internal/app/api/deprecatedv1/testsuites.go b/internal/app/api/deprecatedv1/testsuites.go index a4f6a00316..6f126efa7a 100644 --- a/internal/app/api/deprecatedv1/testsuites.go +++ b/internal/app/api/deprecatedv1/testsuites.go @@ -624,8 +624,8 @@ func (s *DeprecatedTestkubeAPI) ListTestSuiteExecutionsHandler() fiber.Handler { } l.Debugw("got executions totals", "totals", executionsTotals, "time", time.Since(now)) filterAllTotals := *filter.(*testresult.FilterImpl) - filterAllTotals.WithPage(0).WithPageSize(math.MaxInt64) - allExecutionsTotals, err := s.DeprecatedRepositories.TestSuiteResults().GetExecutionsTotals(ctx, filterAllTotals) + filterAllTotals.WithPage(0).WithPageSize(math.MaxInt32) + allExecutionsTotals, err := s.DeprecatedRepositories.TestSuiteResults().GetExecutionsTotals(ctx, &filterAllTotals) if err != nil { return s.Error(c, http.StatusInternalServerError, fmt.Errorf("%s: client could not get all executions totals: %w", errPrefix, err)) }