I have a small q. When one searches for exact string "Father & Son Inc" it does not find that company. Searching for "Father Son Inc" finds it though. Is this something that's easy to fix perhaps?
It probably has to do with the way the ampersand is handled.
There's an outstanding feature request to search for terms with html encoding and without, as it might appear either way in the content (you might have 'Father & Son' or 'Father & Son' in the actual content... in fact, you might have some of each!).
Ok, thanks for the quick answer. But if I make sure the content is saved either with html encoded or without, should I be able to find the sought string then? I think I will do some experiments on that.
Not sure if this relates to the outstanding feature request mentioned by Douglas but I have noticed a similar issue.
I have created a dictionary item (in Swedish but testing in Spanish brings up the same issue) where the content has non english characters, in my case this is a ö.
When I place this dictionary item on my template within some <P> tags (or just straight on the page) it renders on screen as ö with the html being:
ö as I would have expected.
However when I assign the same dictionary item (in the same template) to the 'value' of an input field (within a form) it renders on screen as ö with the html being:
&#246;
Is this a bug of Umbraco or is it the way I have set up my nodes, templates, culture and hostnames, etc.
Search for string including & ampersand
Hi!
I have a small q. When one searches for exact string "Father & Son Inc" it does not find that company. Searching for "Father Son Inc" finds it though. Is this something that's easy to fix perhaps?
Also : many thanks for a great package!
Regards
Jonas
It probably has to do with the way the ampersand is handled.
There's an outstanding feature request to search for terms with html encoding and without, as it might appear either way in the content (you might have 'Father & Son' or 'Father & Son' in the actual content... in fact, you might have some of each!).
There's no quick fix for it, I'm afraid.
cheers,
doug.
Ok, thanks for the quick answer. But if I make sure the content is saved either with html encoded or without, should I be able to find the sought string then? I think I will do some experiments on that.
Cheers
Jonas
@Jonas - following up after a few years - bit of a long shot (I know); do you recall the fix?
No worries if not, just reaching out before digging into the code.
Thanks,
- Lee
Not sure if this relates to the outstanding feature request mentioned by Douglas but I have noticed a similar issue.
I have created a dictionary item (in Swedish but testing in Spanish brings up the same issue) where the content has non english characters, in my case this is a ö. When I place this dictionary item on my template within some <P> tags (or just straight on the page) it renders on screen as ö with the html being:
ö
as I would have expected.However when I assign the same dictionary item (in the same template) to the 'value' of an input field (within a form) it renders on screen as ö with the html being:
&#246;
Is this a bug of Umbraco or is it the way I have set up my nodes, templates, culture and hostnames, etc.
I was working in Umbraco 7
is working on a reply...