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 mixed sorted PoC groups depending on the sample analyses #124

Merged
merged 2 commits into from
Jul 25, 2022

Conversation

ramonski
Copy link
Contributor

Description of the issue/feature this PR addresses

This PR fixes a sorting issue that might occur when using Field and Lab Analyses together in Samples.
Depending on which analysis is found first when creating the PoC groups, the lab PoC might be listed before the field PoC

Current behavior before PR

Field/Lab PoC might be mixed depending on the set of analyses in a sample

Desired behavior after PR is merged

Field/Lab Poc are always sorted alphabetically => ['field', 'lab']

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@ramonski ramonski added the Bug label Jul 25, 2022
@ramonski ramonski requested a review from xispa July 25, 2022 12:24
@xispa xispa merged commit fc40ca3 into 2.x Jul 25, 2022
@xispa xispa deleted the fix-mixed-point-of-captures branch July 25, 2022 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants