modxbot / migrate

A testground for migrating issues and other such fun
0 stars 0 forks source link

MODXs' getChildIds() should only list published and not hidden id's #7803

Open bertoost opened 12 years ago

bertoost commented 12 years ago

bertoost created Redmine issue ID 7803

I think so?

MarkH commented 12 years ago

markh submitted:

I don't think so. :P Some usages may need to fetch the unpublished ones as well.

When building a query using the result of getChildIds(), it's way easy to add a secondary condition for published=1 (you will probably want that anyway).

Some way of passing criteria to the method would be nice, but that way it might not be able of just using the cache like it does now.