-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Feature] Products filtering by channel #11442
[Feature] Products filtering by channel #11442
Conversation
SirDomin
commented
May 11, 2020
Q | A |
---|---|
Branch? | master |
Bug fix? | no |
New feature? | yes |
BC breaks? | no |
Deprecations? | no |
Related tickets | |
License | MIT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this PR meant to include implementation as well? If so, let's prepend the PR title with [WIP]
.
features/product/managing_products/filtering_products_by_channel.feature
Outdated
Show resolved
Hide resolved
features/product/managing_products/filtering_products_by_channel.feature
Outdated
Show resolved
Hide resolved
features/product/managing_products/filtering_products_by_channel.feature
Outdated
Show resolved
Hide resolved
features/product/managing_products/filtering_products_by_channel.feature
Outdated
Show resolved
Hide resolved
features/product/managing_products/filtering_products_by_channel.feature
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/AdminBundle/Resources/config/grids/product.yml
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/AdminBundle/Resources/config/grids/product.yml
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductRepository.php
Outdated
Show resolved
Hide resolved
use Sylius\Component\Grid\Data\DataSourceInterface; | ||
use Sylius\Component\Grid\Filtering\FilterInterface; | ||
|
||
final class EntitiesFilter implements FilterInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we consider moving this class to GridBundle? Also, perhaps for training purposes, we could add spec for this class as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like a good idea!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyway, I'd merge this as it is now and extract it next.
features/product/managing_products/filtering_products_by_channel.feature
Outdated
Show resolved
Hide resolved
/** | ||
* {@inheritdoc} | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Redundant docblock
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kinda, but I guess we should remove them once and for all soon.
Thank you, @SirDomin! 🥇 |