Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mistake in example datagrid brand filters? #189

Open
karelVanGeerdeghom opened this issue Sep 5, 2018 · 1 comment
Open

Mistake in example datagrid brand filters? #189

karelVanGeerdeghom opened this issue Sep 5, 2018 · 1 comment
Assignees

Comments

@karelVanGeerdeghom
Copy link

Hello,
In the examples/CustomBundle/Resources/config/datagrid/brand.yml file I see this code:

    filters:
        columns:
            code:
                type:      string
                label:     Code
                data_name: rd.code
            fabric:
                type:  choice
                label: Fabric
                data_name: o.fabric
                options:
                    field_options:
                        multiple: true
                        choices: '@acme_custom.repository.choice.fabric->getChoices'

I had to change the data_name of fabric to rd.fabric instead of o.fabric to get it to work.

@mmetayer mmetayer self-assigned this Sep 5, 2018
@mmetayer
Copy link
Collaborator

mmetayer commented Sep 5, 2018

Hello @karelVanGeerdeghom

Thank you for reporting this issue, I'll try to fix it as soon as I can, however I don't have much time to work on it right now. Feel free to open a PR if you want 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants