From 854563ef41340e38e40342edae2bbff20d95c677 Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 23 Aug 2024 17:25:21 +0800 Subject: [PATCH] enhance: support search repository path --- src/ViewModels/Welcome.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ViewModels/Welcome.cs b/src/ViewModels/Welcome.cs index f1e1c921..c5ade9ff 100644 --- a/src/ViewModels/Welcome.cs +++ b/src/ViewModels/Welcome.cs @@ -238,7 +238,8 @@ namespace SourceGit.ViewModels } else { - node.IsVisible = node.Name.Contains(_searchFilter, StringComparison.OrdinalIgnoreCase); + node.IsVisible = node.Name.Contains(_searchFilter, StringComparison.OrdinalIgnoreCase) || + node.Id.Contains(_searchFilter, StringComparison.OrdinalIgnoreCase); } }