Spellchecking suggests are always shown
|Priority:||Should have||Due date:|
|Assignee:||Ingo Renner||% Done:||
|Category:||Solr TYPO3 Plugin|
|TYPO3 Version:||Has patch:|
If the solr doesn't return spellchecking suggestions because the word is spelled correctly (return value "correctlySpelled"), the link for the suggest is still shown, but with the current page title as a suggestion, which is really confusing to the user.
It should be checked that the word wasn't actually spelled correctly before setting the suggestions.
A simple patch for this is attached :)
Updated by Ingo Renner almost 2 years ago
Which Solr version, and version of the extension are you using?
Updated by Olivier Dobberkau over 1 year ago
- Status changed from New to Accepted
- Assignee set to Ingo Renner
- Target version set to 2.0
Can you take care of this for the next release?
Updated by Ingo Renner over 1 year ago
- Status changed from Accepted to Resolved
- Priority changed from Must have to Should have
- % Done changed from 0 to 100
The correctlySpelled attribute is only provided when using spellcheck.extendedResults=true which we currently don't. Thus the error won't occur - at least I couldn't reproduce it. I included the fix anyways in case we change to extendedResults one day. Thanks!
Fixed in dkd-EAP r 89705