midhundevasia / typo3-blogmaster

Blogmaster - Blog system for TYPO3 CMS. A simple extension to create blog in TYPO3. The extension is available on TER, you can install it from TYPO3 ExtensionManager or via composer. (EXT:blogmaster)
GNU General Public License v3.0
4 stars 0 forks source link

Blog search error when using multiple searchwords #7

Open AlexanderKoe opened 7 years ago

AlexanderKoe commented 7 years ago

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 commented 7 years ago

Hi @AlexanderKoe ,

I will check and update in the next release.

Thank you

AlexanderKoe commented 7 years ago

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