- yacyui-portalsearch: fix for multiple search terms

- http://forum.yacy-websuche.de/viewtopic.php?f=6&t=2209#p16015

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6112 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
apfelmaennchen 16 years ago
parent b07e518bcc
commit 7fcffdcb3c

@ -234,9 +234,8 @@ function yacysearch(global) {
function(json, status) {
if (json[0]) data = json[0];
else data = json;
if(ycurr != data.channels[0].searchTerms)
return false;
if(data.channels[0].searchTerms != ycurr)
var searchTerms = data.channels[0].searchTerms.replace(/\+/," ");
if(ycurr != searchTerms)
return false;
$('#ypopup').empty();
var total = data.channels[0].totalResults.replace(/[,.]/,"");

Loading…
Cancel
Save