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

add option to disable tag/category releated search #112

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

schugabe
Copy link

If you set the tag multiplier to 0 it currently still searches posts with the same tags. Since this is called multiplier I'd expect it to ignore the tags if it is set to zero.

If you set the tag multiplier to 0 it currently still searches posts with the same tags. Since this is called multiplier I'd expect it to ignore the tags if it is set to zero.
Copy link
Member

@benjaminkott benjaminkott left a comment

Choose a reason for hiding this comment

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

Hey, please see: https://github.com/TYPO3GmbH/blog/blob/master/Classes/Domain/Repository/PostRepository.php#L356-L358

The conditions should not have any effect, not forced, but the constants configuration does not allow negative values to be used as a multiplier. If the value is set to 0, is set to 0 anyways.

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