Skip to content
Snippets Groups Projects
Commit 5fc44d86 authored by juanf's avatar juanf
Browse files

SSDM-3026 : Legacy search returns results by score.

SVN: 35916
parent fbd661b6
No related branches found
No related tags found
No related merge requests found
...@@ -901,7 +901,9 @@ function MainController(profile) { ...@@ -901,7 +901,9 @@ function MainController(profile) {
}); });
} }
dataList.sort(function(e1, e2) { return e1.score < e2.score }); dataList = dataList.sort(function(e1, e2) {
return e2.score - e1.score;
});
callback(dataList); callback(dataList);
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment