Index: trunk/themes/default/search_results/cat_search_results.tpl
===================================================================
diff -u -r648 -r1061
--- trunk/themes/default/search_results/cat_search_results.tpl (.../cat_search_results.tpl) (revision 648)
+++ trunk/themes/default/search_results/cat_search_results.tpl (.../cat_search_results.tpl) (revision 1061)
@@ -107,6 +107,7 @@

|
+
|
Index: trunk/kernel/frontaction.php
===================================================================
diff -u -r1040 -r1061
--- trunk/kernel/frontaction.php (.../frontaction.php) (revision 1040)
+++ trunk/kernel/frontaction.php (.../frontaction.php) (revision 1061)
@@ -834,20 +834,20 @@
if(strlen($keywords))
{
$performSearch = false;
- $isExact = (substr($keywords, 0, 1) == '"' && substr($keywords, strlen($keywords) - 1, 1) == '"');
+ $isExact = (substr($keywords, 0, 2) == '\"' && substr($keywords, strlen($keywords) - 2, 2) == '\"');
if ($isExact) {
$performSearch = (strlen(trim(str_replace('\"', '', $keywords))) >= $length);
}
else {
$key_arr = explode(' ', $keywords);
- /*foreach($key_arr as $value) {
+ foreach($key_arr as $value) {
if (strlen($value) < $length) {
$keywords = str_replace(' '.$value, '', $keywords);
$keywords = str_replace($value.' ', '', $keywords);
}
- }*/
+ }
//$keywords = str_replace(' ', ' ', $keywords);
//$keywords = str_replace('\"', '', $keywords);