Skip to content

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.

CatalogPagingFilteringModel - remove unused properties

support0f6dc4203e5e
diff --git a/src/Web/Grand.Web/Models/Catalog/CatalogPagingFilteringModel.cs b/src/Web/Grand.Web/Models/Catalog/CatalogPagingFilteringModel.cs
index 9c9ec39b7..78eaa5e30 100644
--- a/src/Web/Grand.Web/Models/Catalog/CatalogPagingFilteringModel.cs
+++ b/src/Web/Grand.Web/Models/Catalog/CatalogPagingFilteringModel.cs
@@ -32,7 +32,6 @@ namespace Grand.Web.Models.Catalog
public bool AllowProductSorting { get; set; }
public IList<SelectListItem> AvailableSortOptions { get; set; }
- public string AvailableSortOption { get; set; }
public bool AllowProductViewModeChanging { get; set; }
public IList<SelectListItem> AvailableViewModes { get; set; }
@@ -40,15 +39,13 @@ namespace Grand.Web.Models.Catalog
public bool AllowCustomersToSelectPageSize { get; set; }
public IList<SelectListItem> PageSizeOptions { get; set; }
- public string PageSizeOption { get; set; }
-
/// <summary>
/// Order by
/// </summary>
public int? OrderBy { get; set; }
/// <summary>
- /// Product sorting
+ /// View mode
/// </summary>
public string ViewMode { get; set; }