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

Bug: sort key of analysis services is ignored in worksheet #2113

Open
winniehell opened this issue Aug 12, 2022 · 1 comment
Open

Bug: sort key of analysis services is ignored in worksheet #2113

winniehell opened this issue Aug 12, 2022 · 1 comment

Comments

@winniehell
Copy link
Contributor

Reproduction guide

  • create multiple analysis services with different sort keys
  • create samples using those analysis services
  • create worksheet with those samples

Observed behaviour

analysis services are not sorted by sort key on worksheet:

screenshot of worksheet

screenshot of analysis services

Expected behaviour

they are sorted like in the samples view:

screenshot of samples view

Versions

  • OS: Linux

  • senaite.core: 2.x

  • senaite.impress: 2.x

  • senaite.core.listing: 2.x

  • senaite.core.supermodel: 2.x

reproduced on ab37e34

@winniehell
Copy link
Contributor Author

it looks like this is intentional but I don't understand why:

def sorted_analyses(self, analyses):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant