Improve GitHub repository search
Sort by relevance (stars) instead of last updated
This commit is contained in:
parent
64ebc978e7
commit
6c0c77926f
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ export class GithubRemoteSourceProvider implements RemoteSourceProvider {
|
|||
return [];
|
||||
}
|
||||
|
||||
const raw = await octokit.search.repos({ q: query, sort: 'updated' });
|
||||
const raw = await octokit.search.repos({ q: query, sort: 'stars' });
|
||||
return raw.data.items.map(asRemoteSource);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue