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

Fix filter conversion - when selecting a study, first root network is now selected #672

Open
wants to merge 3 commits into
base: root_network_order
Choose a base branch
from

Conversation

klesaulnier
Copy link
Contributor

@klesaulnier klesaulnier commented Jan 31, 2025

No description provided.

@Parameter(description = "Filter uuid to be applied") @PathVariable("filterUuid") UUID filterUuid) {
return ResponseEntity.ok().contentType(MediaType.APPLICATION_JSON).body(studyService.exportFilter(studyService.getStudyFirstRootNetworkUuid(studyUuid), filterUuid));
}

@GetMapping(value = "/studies/{studyUuid}/root-networks/{rootNetworkUuid}/filters/elements")
Copy link
Contributor

Choose a reason for hiding this comment

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

We were supposed to use the @GetMapping(value = "/studies/{studyUuid}/root-networks/{rootNetworkUuid}/filters/elements") endpoint, but since the frontend cannot select and pass a rootNetwork, a new endpoint was created to pass the firstRootNetwork instead: this endpoint is not used !

Signed-off-by: souissimai <[email protected]>
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.

3 participants