|
|
@ -160,7 +160,7 @@ namespace Sevomin.WebFrontend.Controllers |
|
|
|
{ |
|
|
|
return View(_jobRepository.ListAll() |
|
|
|
.Where(d => d.ExpireDate >= DateTime.Now) |
|
|
|
.OrderByDescending(d => d.ExpireDate) |
|
|
|
.OrderByDescending(d => d.CreateDate).ThenByDescending(d => d.ExpireDate) |
|
|
|
.ToList() |
|
|
|
.Select(j => new JobMiniViewModel(j)).ToList()); |
|
|
|
} |
|
|
|