Skip to content

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