diff --git a/Marco.Pms.Services/Controllers/OrganizationController.cs b/Marco.Pms.Services/Controllers/OrganizationController.cs index 5d3f150..c90a883 100644 --- a/Marco.Pms.Services/Controllers/OrganizationController.cs +++ b/Marco.Pms.Services/Controllers/OrganizationController.cs @@ -127,7 +127,7 @@ namespace Marco.Pms.Services.Controllers .Take(pageSize) .ToListAsync(); - if (!organizations.Any()) + if (!organizations.Any() && !sprid.HasValue) { organizations = await _context.Tenants.AsNoTracking() .Include(t => t.Organization)