Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eclipse Foundation
IT
Websites
membership.eclipse.org
Commits
934018ce
Commit
934018ce
authored
Mar 30, 2022
by
Martin Lowe
🇨🇦
Browse files
Merge remote-tracking branch 'origin/dev' into malowe/dev/1.4.3
parents
2e4f197b
c97da6d9
Pipeline
#2895
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
portal/src/main/java/org/eclipsefoundation/membership/portal/resources/OrganizationResource.java
View file @
934018ce
...
...
@@ -115,6 +115,10 @@ public class OrganizationResource extends AbstractRESTResource {
if
(
wg
.
getResources
().
getParticipationAgreements
().
getOrganization
()
!=
null
)
{
docids
.
add
(
wg
.
getResources
().
getParticipationAgreements
().
getOrganization
().
getDocumentId
());
}
// 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment