Skip to content

[Content]: Entry query parameters for nested elements are undocumented #693

Open
@MoritzLost

Description

@MoritzLost

Product

Craft CMS

Description

The parameters for nested entries are missing from the list of entry query parameters. In particular, all the parameters provided by the NestedElementQueryTrait class are missing from the list. In particular:

  • field()
  • fieldId()
  • primaryOwnerId()
  • primaryOwner()
  • ownerId()
  • owner()
  • allowOwnerDrafts()
  • allowOwnerRevisions()

As far as I know, those aren't documented anywhere.

Suggested improvements:

  • Add all of those parameters to the full list linked above.
  • Mention those parameters on the documentation on Matrix fields with some high-level examples, and maybe also under the general section on nested elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions