Skip to content

Commit

Permalink
fix(repl): search on computed plugins (#1795)
Browse files Browse the repository at this point in the history
The plugins are not only those that have the keyword; but also those that start with it. 

see algolia/npm-search@a8a5265 to the change that did this, 

I already did #1623 and #1622, but it seems like that was reverted?

cc @xtuc
  • Loading branch information
Haroenv authored and existentialism committed Aug 29, 2018
1 parent 02a9678 commit 0966ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/repl/ExternalPluginsModal.js
Expand Up @@ -99,7 +99,7 @@ export default class ExternalPluginsModal extends React.Component<
const { onClose, plugins } = this.props;
const { officialOnly } = this.state;

let filters = "keywords:babel-plugin";
let filters = "computedKeywords:babel-plugin";

if (officialOnly) {
filters += " AND owner.name:babel";
Expand Down

0 comments on commit 0966ddc

Please sign in to comment.