Commit 934018ce authored by Martin Lowe's avatar Martin Lowe 🇨🇦
Browse files

Merge remote-tracking branch 'origin/dev' into malowe/dev/1.4.3

parents 2e4f197b c97da6d9
Pipeline #2895 passed with stage
......@@ -115,6 +115,10 @@ public class OrganizationResource extends AbstractRESTResource {
if (wg.getResources().getParticipationAgreements().getOrganization() != null) {
// if there are no docids, we can never match an org
if (docids.isEmpty()) {
return Response.ok(Collections.emptyList()).build();
wrap.setParam(FoundationDBParameterNames.DOCUMENT_IDS.getName(), docids);
} else if(wg == null && StringUtils.isNotBlank(workingGroup)) {
// return empty response if wg was set but no results
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment