Allow space in search string

Started by zoshi_s, September 06, 2011, 05:38:05 AM

Previous topic - Next topic

zoshi_s

Hello,

I noticed some strange behavior of the search function that I cannot explain.

I have the string "Howdy+\Dude" in one of my forum entries. The entry is shown if I search for "Howdy" or "\Dude". It does not show up when the entire string is searched for. It however finds the entry when I search for "Howdy+\\Dude". I think this is a php thing.

Can we have a WYSIWYG search function where the search function parses the strings for special characters first and then replaces them with appropriate php friendly strings before executing the search? Asking members to insert additional \'s sounds a bit cumbersome.

I would be greatful if someone could write a patch for this as I think a lot of people stand to benefit.

Regards,
zoshi

zoshi_s

Hello,

sorry about bumping this but I really hope someone takes a look at this.

Regards,

Angelina Belle

Unfortunately, SMF 2.0 does not do a good job searching for certain characters.
I think that improving the search feature would be a good feature request.

I hope you won't mind I have moved this to "feature requests".
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Advertisement: