Skip to content

Lister: available fields not updating correctly after changing template filter #990

Open
@Toutouwai

Description

@Toutouwai

Short description of the issue

When a template filter is applied in the core Lister (Find), the list of fields available in subsequent filter rows is updated so that only fields contained in the selected template are available.

That sounds like it would be a useful feature, but the problem is that if the template filter is changed to a different template the selection of fields available in the dropdown is not updated properly, and sometimes no fields are available for selection at all.

Fields in the basic-page template:
2019-10-03_190000

Fields in the test-lister template:
2019-10-03_190634

Fields available for selection (so far, so good):
2019-10-03_190041

2019-10-03_190803

But notice what happens when the template selection is changed from "basic-page" to "test-lister". The fields in the test-lister template are not available for selection.

lister

Expected behavior

The available fields stay synchronised with the selected template.

Setup/Environment

  • ProcessWire version: 3.0.141

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