From f2db0d248bfe4d5d03857a52b8ccc93d21f3a2dd Mon Sep 17 00:00:00 2001 From: orbiter Date: Mon, 22 Jun 2009 06:37:11 +0000 Subject: [PATCH] fix for multi-word search (makes a replace-all) git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6113 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/yacy/ui/js/yacyui-portalsearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/yacy/ui/js/yacyui-portalsearch.js b/htroot/yacy/ui/js/yacyui-portalsearch.js index d18faaaa1..7ea9043c9 100644 --- a/htroot/yacy/ui/js/yacyui-portalsearch.js +++ b/htroot/yacy/ui/js/yacyui-portalsearch.js @@ -234,7 +234,7 @@ function yacysearch(global) { function(json, status) { if (json[0]) data = json[0]; else data = json; - var searchTerms = data.channels[0].searchTerms.replace(/\+/," "); + var searchTerms = data.channels[0].searchTerms.replace(/\+/g," "); if(ycurr != searchTerms) return false; $('#ypopup').empty();