Skip to content

"Is not empty" selector for subfield matches pages that do not contain field #1899

@Toutouwai

Description

@Toutouwai

Short description of the issue

Demoing here with Lister and FieldtypeEvents but I can reproduce the issue with other fieldtypes that contain subfields so I think it's due to some underlying PageFinder problem.

I have a test_events field on a single template that is used for a single page.

2024-03-22_105341

In Lister if I attempt to match pages where the Title subfield of test_events is not empty then all pages are matched.

2024-03-22_105542

I expected only a single page to be matched, because if a template does not contain the test_events field then how could the subfield be "not empty"?

Setup/Environment

  • ProcessWire version: 3.0.236

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions