From 00cf444712e62f1933c18df6c11ad44b75e80394 Mon Sep 17 00:00:00 2001 From: yk Date: Wed, 18 Sep 2024 20:14:50 +0300 Subject: [PATCH] Update src/OrchardCore.Modules/OrchardCore.Lists/Drivers/ListPartDisplayDriver.cs Co-authored-by: Mike Alhayek --- .../OrchardCore.Lists/Drivers/ListPartDisplayDriver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OrchardCore.Modules/OrchardCore.Lists/Drivers/ListPartDisplayDriver.cs b/src/OrchardCore.Modules/OrchardCore.Lists/Drivers/ListPartDisplayDriver.cs index 05bdd53bc0c..3fc3455c9db 100644 --- a/src/OrchardCore.Modules/OrchardCore.Lists/Drivers/ListPartDisplayDriver.cs +++ b/src/OrchardCore.Modules/OrchardCore.Lists/Drivers/ListPartDisplayDriver.cs @@ -137,7 +137,7 @@ private ShapeResult InitializeDisplayListPartDetailAdminShape(ListPart listPart, } private ShapeResult InitializeDisplayListPartDetailAdminSearchPanelShape() { - return Initialize("ListPartDetailAdminSearchPanel", (Func)(async model => + return Initialize("ListPartDetailAdminSearchPanel", async model => { var listPartFilterViewModel = new ListPartFilterViewModel(); await _updateModelAccessor.ModelUpdater.TryUpdateModelAsync(listPartFilterViewModel, Prefix);