FriendsOfAkeneo / CustomEntityBundle

Eases the creation of custom entity and related views in the PIM
Other
53 stars 61 forks source link

Mistake in example datagrid brand filters? #189

Open karelVanGeerdeghom opened 6 years ago

karelVanGeerdeghom commented 6 years ago

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 commented 6 years ago

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 :wink: