diff --git a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js index c6b06efa779b25e2378dd43b5fe66303baf00178..14664be6f2f7812ffba4e6b18ad22ba9f2898b1d 100644 --- a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js +++ b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js @@ -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); };