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

IBX-6413: Fixes minQueryLength test to stick to parameter's meaning #997

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

adriendupuis
Copy link
Contributor

Question Answer
Tickets IBX-6413
Bug fix? yes
New feature? no
BC breaks? yes
Tests pass? yes/no
Doc needed? yes
License GPL-2.0

ibexa.site_access.config.<scope>.search.suggestion.min_query_length: 3 should mean that suggestion start to be made for a 3 character long text.

  • With <= it was starting at 4 characters.
  • With < it starts at 3.

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

`ibexa.site_access.config.<scope>.search.suggestion.min_query_length: 3` should mean that suggestion start to be made for a 3 character long text.
With `<=` it was starting at 4 characters.
With `<` it starts at 3.
Copy link

sonarcloud bot commented Nov 20, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@adamwojs
Copy link
Member

I was just about to report this issue :D

@adriendupuis adriendupuis changed the title admin.search.autocomplete.js: Fix minQueryLength to stick to its meaning IBX-6413: Fixes minQueryLength test to stick to parameter's meaning Nov 20, 2023
@adamwojs adamwojs merged commit b77c108 into main Nov 20, 2023
24 checks passed
@adamwojs adamwojs deleted the fix-min_query_length branch November 20, 2023 17:15
@adamwojs
Copy link
Member

Thank you for contribution @adriendupuis!

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.

None yet

3 participants