Merge pull request #5140 from sbwalker/dev

fix regression issue with Search component
This commit is contained in:
Shaun Walker 2025-03-04 15:45:16 -05:00 committed by GitHub
commit 2f919c7d69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,7 +56,7 @@
private void PerformSearch() private void PerformSearch()
{ {
if (_searchResultsPage != null && !string.IsNullOrEmpty(_keywords)) if (_searchResultsPage != null)
{ {
var url = NavigateUrl(_searchResultsPage.Path, $"q={WebUtility.UrlEncode(_keywords)}"); var url = NavigateUrl(_searchResultsPage.Path, $"q={WebUtility.UrlEncode(_keywords)}");
NavigationManager.NavigateTo(url); NavigationManager.NavigateTo(url);