Organization_Management #142
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user