From 70452d932c89a87bd7d9cb3d0d1c2d91985bc02e Mon Sep 17 00:00:00 2001 From: devinleighsmith <41091511+devinleighsmith@users.noreply.github.com> Date: Wed, 16 Mar 2022 19:03:17 -0700 Subject: [PATCH] psp-3042 correct issue with lease max page size. (#1111) Co-authored-by: Smith --- backend/api/Pims.Api.csproj | 4 ++-- backend/dal/Repositories/LeaseRepository.cs | 2 +- frontend/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/api/Pims.Api.csproj b/backend/api/Pims.Api.csproj index 5c9a7f70e2..2fcdaf918b 100644 --- a/backend/api/Pims.Api.csproj +++ b/backend/api/Pims.Api.csproj @@ -2,8 +2,8 @@ 0ef6255f-9ea0-49ec-8c65-c172304b4926 - 1.1.4-21.45 - 1.1.4.21 + 1.1.5-21.45 + 1.1.5.21 true 16BC0468-78F6-4C91-87DA-7403C919E646 diff --git a/backend/dal/Repositories/LeaseRepository.cs b/backend/dal/Repositories/LeaseRepository.cs index e78abf59dc..e1dd37ab54 100644 --- a/backend/dal/Repositories/LeaseRepository.cs +++ b/backend/dal/Repositories/LeaseRepository.cs @@ -68,7 +68,7 @@ public PimsLease Get(long id) { this.User.ThrowIfNotAuthorized(Permissions.LeaseView); - PimsLease lease = this.Context.PimsLeases + PimsLease lease = this.Context.PimsLeases.AsSplitQuery() .Include(l => l.PimsPropertyLeases) .ThenInclude(p => p.Property) .ThenInclude(p => p.Address) diff --git a/frontend/package.json b/frontend/package.json index bff5e2525c..bc44dafa80 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "frontend", - "version": "1.1.4-21.45", + "version": "1.1.5-21.45", "private": true, "dependencies": { "@bcgov/bc-sans": "1.0.1",