|
@@ -150,7 +150,7 @@ namespace DutyApp.ViewModels
|
|
var dailyDuty = await _dutyContext.DailyDutyRecords.
|
|
var dailyDuty = await _dutyContext.DailyDutyRecords.
|
|
Include(x => x.Picture)
|
|
Include(x => x.Picture)
|
|
.Where(x => x.DutyDate == maxDay)
|
|
.Where(x => x.DutyDate == maxDay)
|
|
- .OrderBy(x => x.RecordId)
|
|
|
|
|
|
+ .OrderBy(x => x.Index)
|
|
.ToListAsync();
|
|
.ToListAsync();
|
|
|
|
|
|
if (dailyDuty.Count == 0)
|
|
if (dailyDuty.Count == 0)
|