improve search user experience

This commit is contained in:
sbwalker
2024-07-18 11:49:42 -04:00
parent b0e121a53f
commit 4f3190bf73
3 changed files with 23 additions and 17 deletions

View File

@ -53,7 +53,7 @@
private void PerformSearch()
{
var keywords = HttpContext.HttpContext.Request.Form["keywords"];
if (!string.IsNullOrEmpty(keywords) && _searchResultsPage != null)
if (_searchResultsPage != null)
{
var url = NavigateUrl(_searchResultsPage.Path, $"q={keywords}");
NavigationManager.NavigateTo(url);