|
#1
|
||||
|
||||
[TT 2.0.5] - Search error.
[05-01-09 15:04] HelixiR: db utf8 - i see torrents name in normal text (rus & eng) but search not work if my search request are russian.
Any idea wtf? |
#2
|
|||
|
|||
try this
open your backend/functions.php find this line Code:
function searchfield($s) { return preg_replace(array('/[^a-z0-9]/si', '/^\s*/s', '/\s*$/s', '/\s+/s'), array(" ", "", "", " "), $s); } replace with: Code:
function searchfield($s) { return preg_replace(array('/[^a-zA-Zа-яА-Я0-9]/si', '/^\s*/s', '/\s*$/s', '/\s+/s'), array(" ", "", "", " "), $s); } |
Tags |
error , search , tt |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
legend.php search for ts 5.6 | dragon38 | Template Shares | 1 | 28th March 2010 21:26 |
New Search Box Needed | mat22 | Yuna Scatari Edition (YSE) | 0 | 11th February 2010 19:10 |
search box mod | irfan | Community Cafe | 4 | 25th October 2009 16:02 |
how to add a search box in browse.php | irfan | TBDev | 0 | 22nd October 2009 17:25 |
meta search engine script(pirate search) | movizdb | Downloads | 1 | 13th October 2008 15:19 |