Skip to content

Commit

Permalink
Fix issue distinct values for select
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasbbs committed Mar 11, 2024
1 parent 18a6920 commit 55bacb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Areas/Customer/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public IActionResult Index(string searchString, string category)

var tableCategoryVM = new TableCategoryViewModel
{
Categories = new SelectList(categoryQuery),
Categories = new SelectList(categoryQuery.Distinct()),
Tables = tableList
};
return View(tableCategoryVM);
Expand Down

0 comments on commit 55bacb0

Please sign in to comment.