From 471400dfbedf02332d2b82e7cb13837e3ad5235d Mon Sep 17 00:00:00 2001 From: Amelia Wattenberger Date: Mon, 15 Aug 2022 12:07:57 -0700 Subject: [PATCH] markdown: search repo name specifically --- blocks/file-blocks/markdown-edit/block-component-widget.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/file-blocks/markdown-edit/block-component-widget.tsx b/blocks/file-blocks/markdown-edit/block-component-widget.tsx index c4ff25e..4ff0596 100644 --- a/blocks/file-blocks/markdown-edit/block-component-widget.tsx +++ b/blocks/file-blocks/markdown-edit/block-component-widget.tsx @@ -381,7 +381,7 @@ const ContextControls = ({ sort: "stars", direction: "desc", per_page: 10, - q: searchTerm || "blocks", + q: `${searchTerm || "blocks"} in:name`, } ); const repoNames = repos.items.map((repo) => ({