Skip to content

Make has_parent support piped OR values #17

@LostKobrakai

Description

@LostKobrakai

Briefly describe the enhancement or the feature request.

Allow for selectors to work with these: has_parent=1234|1235

What is the current and suggested behavior?

Currently only this does work: (has_parent=1234), (has_parent=1235).
The Selector parser could probably handle both cases by simply handling the shortform like the longer form.

Why would the enhancement be useful to users?

Sometimes one might to select pages from different branches in the page-tree

More information here: ryancramerdesign/ProcessWire#1232

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