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

getResources, limit & permissions #99

Open pitangaweb opened 9 years ago

pitangaweb commented 9 years ago

When calling getResources with limit = 3, if one of these 3 resources has restricted access permissions, it outputs only 2 resources.

It should instead output 3 resources that do not have restricted access permissions, not 2.

This is an issue when used with getPages. We end up with empty pages.