From 840ba2f7cd2d6d73363b966691a07792a324025d Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Mon, 22 Mar 2021 16:28:00 -0400 Subject: [PATCH] 17119: when the count: none option is supplied, the itemsAvailable field should be omitted from the response for the group contents API call. Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- lib/controller/router/response.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/controller/router/response.go b/lib/controller/router/response.go index 6e933fc00e..03cdcf18d2 100644 --- a/lib/controller/router/response.go +++ b/lib/controller/router/response.go @@ -31,6 +31,9 @@ func (rtr *router) responseOptions(opts interface{}) (responseOptions, error) { case *arvados.ListOptions: rOpts.Select = opts.Select rOpts.Count = opts.Count + case *arvados.GroupContentsOptions: + rOpts.Select = opts.Select + rOpts.Count = opts.Count } return rOpts, nil } -- 2.30.2