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

Can't autocomplete term that contains search string #21

Open
mosofsky opened this issue Jan 10, 2018 · 0 comments
Open

Can't autocomplete term that contains search string #21

mosofsky opened this issue Jan 10, 2018 · 0 comments

Comments

@mosofsky
Copy link

mosofsky commented Jan 10, 2018

The current version seems to support matching a search string to a term based only if the term begins with the search term. It would be useful if it could also match a term that contains the search term.

Scenario: Term begins with search string
Given the term 'legal sea foods'
When the user searches for 'legal sea'
Then 'legal sea foods' should be returned as a match [PASS]

Scenario: Term contains search string
Given the term 'legal sea foods'
When the user searches for 'sea foods'
Then 'legal sea foods' should be returned as a match [FAIL]

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

No branches or pull requests

1 participant