Skip to content

Filter not working in single_snippet_selection #8253

@manuxi

Description

@manuxi
Q A
Sulu Version 3.0.x
PHP Version 8.3.3
DB Version 5.7.32
Browser Version Chrome latest

Actual Behavior

I use several snippets, one with key: hero

<property name="snippet_hero" type="single_snippet_selection"
    <meta>
        <title lang="en">Snippet (Hero)</title>
    </meta>
    <params>
        <param name="types" value="hero"/> <!-- types not working -->
        <param name="default" value="hero"/>
        <param name="loadExcerpt" value="true"/>
    </params>
</property>

Does not restrict the snippet selection to heros, I'm seeing all snippets.

Expected Behavior

I do only see snippets of filtered type in selection

Steps to Reproduce

Just some snippets and the xml above

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugError or unexpected behavior of already existing functionality

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions