Skip to content

Make output order of resources like input order - #101

Open
mindeffects wants to merge 2 commits into
opengeek:masterfrom
mindeffects:patch-1
Open

Make output order of resources like input order#101
mindeffects wants to merge 2 commits into
opengeek:masterfrom
mindeffects:patch-1

Conversation

@mindeffects

Copy link
Copy Markdown

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
Copy Markdown
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.

1 participant