Skip to content

Commit

Permalink
Merge pull request #5649 from jupyterlab/vidartf-patch-1
Browse files Browse the repository at this point in the history
Don't sort extension search alphabetically
  • Loading branch information
blink1073 committed Nov 21, 2018
2 parents c138dee + 17b9139 commit 1d09ecf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/extensionmanager/src/model.ts
Expand Up @@ -738,7 +738,8 @@ namespace Private {
let testB = isJupyterOrg(b.name);

if (testA === testB) {
return a.name.localeCompare(b.name);
// Retain sort-order from API
return 0;
} else if (testA && !testB) {
return -1;
} else {
Expand Down

0 comments on commit 1d09ecf

Please sign in to comment.