mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Sort versions.
This commit is contained in:
@@ -15,6 +15,6 @@ namespace DiscImageChef.Server.Areas.Admin.Controllers
|
||||
public VersionsController(DicServerContext context) => _context = context;
|
||||
|
||||
// GET: Admin/Versions
|
||||
public async Task<IActionResult> Index() => View(await _context.Versions.ToListAsync());
|
||||
public async Task<IActionResult> Index() => View(await _context.Versions.OrderBy(v => v.Value).ToListAsync());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user