Add category to search
MODIFY
WalletWasabi.Fluent/ViewModels/SearchBar/SearchBarViewModel.cs
WalletWasabi.Fluent/ViewModels/SearchBar/SearchBarViewModel.cs
@@ -46,9 +46,10 @@ public partial class SearchBarViewModel : ReactiveObject
}
var containsName = searchItem.Name.Contains(text, StringComparison.InvariantCultureIgnoreCase);
+ var containsCategory = searchItem.Category.Contains(text, StringComparison.InvariantCultureIgnoreCase);
var containsAnyTag =
searchItem.Keywords.Any(s => s.Contains(text, StringComparison.InvariantCultureIgnoreCase));
- return containsName || containsAnyTag;
+ return containsName || containsCategory || containsAnyTag;
};
}
}

Add category to search