I'd like to keep the current query string while sorting. My code is here: https://dotnetfiddle.net/n8fg3I
Model
all the properties
Controller
Logic to Filter by Category
Logic to Sort based on some criteria
Keep Current Filter While categorized
View
How can I do that with
@Html.DropDownList("Category", (SelectList)ViewBag.Category, "All", new { @class = "form-control"})