Skip to content

Commit 49dd426

Browse files
committed
doc: update search document
1 parent a46e51d commit 49dd426

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/BootstrapBlazor.Shared/Components/Samples/Table/TablesSearch.razor.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ private Task<QueryData<Foo>> OnQueryAsync(QueryPageOptions options)
148148
{
149149
// 使用内置扩展方法 ToFilter 获得过滤条件
150150
// 目前 ToFilterFunc 无法解决大小写敏感问题
151-
// var items = Items.Where(options.ToFilterFunc<Foo>());
152-
IEnumerable<Foo> items = Items;
151+
var items = Items.Where(options.ToFilterFunc<Foo>());
153152
if (!string.IsNullOrEmpty(options.SearchText))
154153
{
155154
// 使用 Linq 处理

0 commit comments

Comments
 (0)