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

Add preserveOrder trait on CatalogGroup #4809

Closed
wants to merge 3 commits into from
Closed

Conversation

rowanwins
Copy link
Contributor

What this PR does

This PR ports the preserveOrder trait for the CatalogGroup model. I noticed it was responsible for many errors in the catalog converter.

It's perhaps not completely ideal, in some regards it would be nice if this was somehow implemented on the GroupMixin but that seemed a somewhat more complicated task...

If folks are happy with the approach I'll write a few tests, but I thought I'd whack this up for initial thoughts.

Checklist

  • There are unit tests to verify my changes are correct or unit tests aren't applicable (if so, write quick reason why unit tests don't exist)
  • I've updated CHANGES.md with what I changed.

@nf-s
Copy link
Contributor

nf-s commented Feb 4, 2021

I don't think we should alphabetically order members by default - I think we should preserve order instead

@nf-s
Copy link
Contributor

nf-s commented May 3, 2021

TODO:

  • Try to move sorting from CatalogGroup to GroupMixin
  • Port tests from CatalogGroupSpec.js

@nf-s nf-s mentioned this pull request Jan 19, 2022
4 tasks
@nf-s
Copy link
Contributor

nf-s commented Jan 19, 2022

Replaced by #6098

@nf-s nf-s closed this Jan 19, 2022
@nf-s nf-s deleted the preserveOrder branch January 19, 2022 09:24
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.

2 participants