Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 8c9ce202

Přidáno uživatelem Vojtěch Bartička před asi 2 roky(ů)

Fixed issues with database OR mapping

Zobrazit rozdíly:

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