Revize 8c9ce202
Přidáno uživatelem Vojtěch Bartička před asi 2 roky(ů)
Backend/Core/Services/TagService/TagServiceEF.cs | ||
---|---|---|
279 | 279 |
{ |
280 | 280 |
if (!isFinal) |
281 | 281 |
{ |
282 |
annotation = databaseContext.Annotations.Include(a => a.User).First(a => a.Id == annotationId); |
|
282 |
annotation = databaseContext.Annotations |
|
283 |
.Where(a => !(a is FinalAnnotation)) |
|
284 |
.Include(a => a.User).First(a => a.Id == annotationId); |
|
283 | 285 |
} |
284 | 286 |
else |
285 | 287 |
{ |
Také k dispozici: Unified diff
Fixed issues with database OR mapping