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

Blog search error when using multiple searchwords #7

Open
AlexanderKoe opened this issue Feb 17, 2017 · 2 comments
Open

Blog search error when using multiple searchwords #7

AlexanderKoe opened this issue Feb 17, 2017 · 2 comments
Labels

Comments

@AlexanderKoe
Copy link

in PostRepository, function search:

this combines 2 searchwords first and then tries to explode with ",", does not work, search for "Internet Data" creates a new Searchword "InternetData"...

$parseKey = explode(',', str_replace(' ', '', $keyword));

I changed to:

$parseKey = explode(',', str_replace(' ', ',', trim($keyword)));
$parseKey = array_filter($parseKey);

@midhundevasia
Copy link
Owner

Hi @AlexanderKoe ,

I will check and update in the next release.

Thank you

@AlexanderKoe
Copy link
Author

thank you, I'm looking forward for the next release :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants