optimize Pager search to remove redundant AllowSearch parameter and avoid consuming memory when not in use

This commit is contained in:
sbwalker
2023-10-12 11:10:14 -04:00
parent 6140743769
commit b77e72880b
10 changed files with 12 additions and 17 deletions

View File

@ -14,7 +14,7 @@ else
{
<ActionLink Action="Add" Text="Add Site" ResourceKey="AddSite" />
<Pager Items="@_sites" AllowSearch="True" SearchProperties="Name">
<Pager Items="@_sites" SearchProperties="Name">
<Header>
<th style="width: 1px;">&nbsp;</th>
<th style="width: 1px;">&nbsp;</th>