Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Minor fix CatalogController.cs
support94e8b03fd437
diff --git a/src/Web/Grand.Web/Controllers/CatalogController.cs b/src/Web/Grand.Web/Controllers/CatalogController.csindex bb1813df0..fc19f818c 100644--- a/src/Web/Grand.Web/Controllers/CatalogController.cs+++ b/src/Web/Grand.Web/Controllers/CatalogController.cs@@ -471,12 +471,12 @@ namespace Grand.Web.Controllersmodel.adv = true;}//Prepare model- var isSearchTermSpecified = HttpContext?.Request?.Query.ContainsKey("q");+ var isSearchTermSpecified = HttpContext.Request.Query.ContainsKey("q");var searchModel = await _mediator.Send(new GetSearch {Command = command,Currency = _workContext.WorkingCurrency,Customer = _workContext.CurrentCustomer,- IsSearchTermSpecified = isSearchTermSpecified ?? false,+ IsSearchTermSpecified = isSearchTermSpecified,Language = _workContext.WorkingLanguage,Model = model,Store = _workContext.CurrentStore