apostrophecms-legacy / apostrophe-schemas

DEPRECATED - FOR APOSTROPHE 0.5 SITES ONLY - BUILT IN TO APOSTROPHE 2.X. Allows any object to have a schema of properties that can be edited in the browser, sanitized on the server and easily saved in Mongo. Schema types include text, select, tags, Apostrophe areas and singletons, and joins (one-to-one and many-to-many relationships), among others.
MIT License
3 stars 3 forks source link

Allow schema option to define root parent when using the "page" type join #5

Open fotisp opened 9 years ago

fotisp commented 9 years ago

When defining a join of type "page", it would be useful to provide an option for the developer to provide a "path" under which this page must live under.

Something of type "descendantOf"

To take this issue a step further, it would be ideal to allow the developer to provide a filtering function which appends to the $criteria object, before that is used to retrieved the pages