diff --git a/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Menus.razor b/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Menus.razor index 115d3ba8..0912dc7c 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Menus.razor +++ b/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Menus.razor @@ -1,6 +1,8 @@ @page "/Admin/Menus" - + diff --git a/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Menus.razor.cs b/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Menus.razor.cs index 2b0dff5b..124ae830 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Menus.razor.cs +++ b/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Menus.razor.cs @@ -72,6 +72,9 @@ public partial class Menus return Task.FromResult(new QueryData() { + IsFiltered = true, + IsSearch = true, + IsSorted = true, Items = menus }); } diff --git a/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Users.razor b/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Users.razor index 04fa9942..e6bf289c 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Users.razor +++ b/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Users.razor @@ -1,6 +1,6 @@ @page "/Admin/Users" - + diff --git a/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Users.razor.cs b/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Users.razor.cs index a55923aa..0fc21872 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Users.razor.cs +++ b/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Users.razor.cs @@ -25,6 +25,8 @@ public partial class Users [NotNull] private IRole? RoleService { get; set; } + private List SortList { get; } = new List { "UserName" }; + private async Task OnAssignmentGroups(User user) { var groups = GroupService.GetAll().ToSelectedItemList();