Skip to content

[ LatestPosts ] Move the new multiple category selector to QueryControls #20826

@draganescu

Description

@draganescu

Describe the bug
In #20781 we added a multiple select control to the LatestPosts block which allows filtering the posts by multiple categories.

However, the control is being used directly in the block instead of the reusable QueryControls component. Given that the block itself is to be refactored at some time in the future to use the new QueryBlock it is important that we keep the filtering together in a component so we can more easily migrate when the time comes.

Expected behavior
The new filter should be in the QueryControls component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] Latest PostsAffects the Latest Posts Block[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions