case 4068

This commit is contained in:
2022-01-04 18:18:51 +00:00
parent 717b1f3ec0
commit 74e2a2955a
2 changed files with 8 additions and 4 deletions

View File

@@ -186,9 +186,7 @@ namespace AyaNova.Biz
//GET LIST
//
internal async Task<List<NameIdItem>> GetReportListAsync(AyaType aType)
{
//Let postgres sort the names so that they appear with the emoji symbols last in the list which we use for sample reports to
//not pollute the regular reports
{
var rpts = await ct.Report.AsNoTracking().Where(z => z.AType == aType && z.Active == true).Select(z => new { id = z.Id, name = z.Name, roles = z.Roles }).OrderBy(z => z.name).ToListAsync();
var ret = new List<NameIdItem>();
foreach (var item in rpts)