This commit is contained in:
2020-04-10 18:41:09 +00:00
parent b46b9dcf72
commit 34708e7e2e
2 changed files with 8 additions and 8 deletions

View File

@@ -83,7 +83,7 @@ namespace AyaNova.Biz
//Set up the query
var q = ct.Event.Select(m => m);
q = q.Where(m => m.UserId == opt.AyId);
q = q.Where(m => m.UserId == opt.UserId);
var limit = opt.Limit ?? 100;
var offset = opt.Offset ?? 0;
q = q.OrderBy(m => m.Created);