mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Set display modes for companies admin.
This commit is contained in:
@@ -55,7 +55,7 @@ namespace cicm_web.Areas.Admin.Controllers
|
||||
{
|
||||
IIncludableQueryable<Company, Company> cicmContext =
|
||||
_context.Companies.Include(c => c.Country).Include(c => c.SoldTo);
|
||||
return View(await cicmContext.ToListAsync());
|
||||
return View(await cicmContext.OrderBy(c => c.Name).ToListAsync());
|
||||
}
|
||||
|
||||
// GET: Admin/Companies/Details/5
|
||||
|
||||
Reference in New Issue
Block a user