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

Make output order of resources like input order #101

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mindeffects
Copy link

To preserve the CSV order of &resources one has to manually insert &sortby='FIELD(modResource.id,[[+myResources]])'. This is a possible way how do do it but I thought it would be nicer if we had the sortby token resources which ads this behavior automatically.

I hope you like my little addition and will merge it. Or just feel free to modify it.

cheers
Oliver

To preserve the CSV order of `&resources` one has to manually insert `&sortby='FIELD(modResource.id,[[+myResources]])'`. This is a possible way how do do it but I thought it would be nicer if we had the `sortby` token "resources" which ads this behavior automatically.
To preserve the CSV order of &resources one has to manually insert &sortby='FIELD(modResource.id,[[+myResources]])'. This is a possible way how do do it but I thought it would be nicer if we had the sortby token resources which ads this behavior automatically.

I hope you like my little addition and will merge it. Or just feel free to modify it.

cheers
Oliver
@mindeffects
Copy link
Author

Hi Jason,
Happy New Year!

Any idea, when this PR will get merged?

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.

None yet

1 participant