[FIX] SEO suggestions

bzr revid: ddm@openerp.com-20130912153635-zrtb6gcyr4jauwd2
This commit is contained in:
ddm
2013-09-12 17:36:35 +02:00
parent 0673d95ff5
commit 0789055011
+1 -2
View File
@@ -167,7 +167,6 @@
return word.replace(nameRegex, "").trim();
});
// TODO Order properly ?
cleanList.push(self.companyName);
_.each(_.uniq(cleanList), function (keyword) {
if (keyword) {
var suggestion = new website.seo.Suggestion(self, {
@@ -180,7 +179,7 @@
}
});
}
$.getJSON("http://seo.eu01.aws.af.cm/suggest/"+encodeURIComponent(this.word), addSuggestions);
$.getJSON("http://seo.eu01.aws.af.cm/suggest/"+encodeURIComponent(this.word + " "), addSuggestions);
},
});