opengeek / getResources

A MODx Snippet for iterating a collection of MODx Resources
http://rtfm.modx.com/display/ADDON/getResources
27 stars 22 forks source link

Make output order of resources like input order #101

Open mindeffects opened 9 years ago

mindeffects commented 9 years ago

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 commented 8 years ago

Hi Jason, Happy New Year!

Any idea, when this PR will get merged?