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

fix condition "category is not one of category ids list" #1426

Merged
merged 2 commits into from
Jul 8, 2019
Merged

fix condition "category is not one of category ids list" #1426

merged 2 commits into from
Jul 8, 2019

Conversation

androshchuk
Copy link
Contributor

fix for #1420

*/
public function getSearchQuery($excludedCategories = [])
public function getSearchQuery($excludedCategories = [], $virtualCategoryRoot = ''): ?QueryInterface
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why an empty string as default value ? Seems weird, null could be better, don't you think so ?

@romainruaud romainruaud merged commit 2dc4d75 into Smile-SA:2.8.x Jul 8, 2019
@androshchuk androshchuk deleted the 1420-condition-category-is-not-one-of-category-ids-list branch July 31, 2019 14:39
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

Successfully merging this pull request may close these issues.

2 participants