diff --git a/Marco.Pms.Services/Controllers/DocumentController.cs b/Marco.Pms.Services/Controllers/DocumentController.cs index 1c6669f..5f9180c 100644 --- a/Marco.Pms.Services/Controllers/DocumentController.cs +++ b/Marco.Pms.Services/Controllers/DocumentController.cs @@ -544,7 +544,11 @@ namespace Marco.Pms.Services.Controllers // Retrieve the tags that belong to the specified tenant and project only the names (performance: projection) var tags = await context.DocumentTagMasters .Where(dt => dt.TenantId == tenantId) - .Select(dt => dt.Name) + .Select(dt => new + { + Name = dt.Name, + IsActive = true + }) .ToListAsync(); _logger.LogInfo("Successfully retrieved {TagCount} document tags for tenant {TenantId}.", tags.Count, tenantId);