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

Sort output order of resource IDs like input order AKA keep the sequence alive #97

Merged
merged 1 commit into from
Feb 7, 2015

Conversation

bartholomej
Copy link
Contributor

Now you can use:
[[!getResources? &resources=4,3,2,5 &sortby=resources &tpl=tpl.item]]
OR
[[!getResources? &resources=4,3,2,5 &sortby={"resources":"DESC"} &tpl=tpl.item]]
MODX CCC w/ @pepimpepa

@JensWolff
Copy link

+1 👍

@opengeek opengeek self-assigned this Feb 7, 2015
@opengeek opengeek merged commit ac92ba3 into opengeek:master Feb 7, 2015
opengeek added a commit that referenced this pull request Feb 7, 2015
opengeek added a commit that referenced this pull request Feb 7, 2015
Merge branch 'pr/97'

* pr/97:
  Add changelog entry for #97
  Sort output order of resource IDs like input order
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants