Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6262 show proper number of ds inlinking dv #6564

Merged
merged 19 commits into from
Jan 30, 2020

Conversation

sekmiller
Copy link
Contributor

What this PR does / why we need it:
This PR will display the datasets owned by a linked dataverse in the linking dataverse

Which issue(s) this PR closes:

Closes #6262

Special notes for your reviewer:
None

Suggestions on how to test this:
Link a DV containing datasets and see that the datasets are displayed in the linking DV.

Does this PR introduce a user interface change?:
no

Is there a release notes update needed for this change?:
added as 6262-release-notes.md

Additional documentation:
NA

@coveralls
Copy link

coveralls commented Jan 23, 2020

Coverage Status

Coverage decreased (-0.01%) to 19.47% when pulling 6872f98 on 6262-show-proper-number-of-DS-inlinking-DV into 5a5fc4b on develop.

@scolapasta
Copy link
Contributor

@sekmiller this doesn't handle when there are dataverse in a linked dataverses (nor datasets in those dataverses, etc). We would need some recursion for this, but is likely what is needed to truly resolve this issue.

@djbrooke
Copy link
Contributor

Moving back to team dev based on comment from @scolapasta above

@sekmiller sekmiller removed their assignment Jan 27, 2020
@sekmiller sekmiller removed their assignment Jan 29, 2020
return false;
}

private List<String> findLinkingDataversePaths(Dataverse dataverse, Boolean self) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this an object and not a primitive boolean?

@scolapasta scolapasta removed their assignment Jan 30, 2020
@kcondon kcondon self-assigned this Jan 30, 2020
@kcondon kcondon merged commit 9146cec into develop Jan 30, 2020
@kcondon kcondon deleted the 6262-show-proper-number-of-DS-inlinking-DV branch January 30, 2020 20:50
@djbrooke djbrooke added this to the 4.20 milestone Feb 7, 2020
@pdurbin pdurbin mentioned this pull request Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linking Dataverses does not show proper number of Datasets in facet results
6 participants