Skip to content
Snippets Groups Projects
Commit 5123768b authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Cs+ Wot: Allow to find a Cs+ profile, event if Duniter node not return the pubkey - fix #804

parent 8c23a627
No related branches found
No related tags found
No related merge requests found
Pipeline #4884 failed
......@@ -193,15 +193,13 @@ angular.module('cesium.es.profile.services', ['cesium.services', 'cesium.es.http
}
else {
request.query.constant_score = {
filter: {bool: {should: [
{terms : {_id : pubkeys}},
{bool: {
must: [
filter: {bool: {
should: [
{terms : {"_id^4" : pubkeys}},
{match: {title: {query: text, boost: 2}}},
{prefix: {title: text}}
]}
}
]}}
};
if (tags) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment