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

[DOC REQUEST] How to create custom filter ? #9

Open
vasilvestre opened this issue Jul 12, 2019 · 1 comment
Open

[DOC REQUEST] How to create custom filter ? #9

vasilvestre opened this issue Jul 12, 2019 · 1 comment

Comments

@vasilvestre
Copy link

Hey, the new release is great ! Thanks a lot for the good work.

The data fetcher are so easy to create but filter lack documentation tbh, could you please help a bit about that ? Thanks !

@songecko
Copy link
Contributor

Thanks @vasilvestre . Sorry for the huge delay on this response.
To add a new filter for example to Sales Total data fetcher, you need to extend the SalesTotalType to add the new form field. Also you will need to extend the Data Fetcher itself in order to get the new configuration field and change the query.

Let me know if it was clear to you. Also we can chat by Sylius Slack if you want. My username is: songecko.

Regards.

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

No branches or pull requests

2 participants