Skip to content

Commit

Permalink
Merge pull request #578 from bcgov/yj
Browse files Browse the repository at this point in the history
chore: def values for pageSize and pageNumber
  • Loading branch information
ychung-mot committed Aug 29, 2024
2 parents 0a34642 + a4fbf08 commit b1b9828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/StrDss.Api/Controllers/RentalListingsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public RentalListingsController(ICurrentUser currentUser, IMapper mapper, IConfi
[HttpGet]
public async Task<ActionResult> GetRentalListings(string? all, string? address, string? url, string? listingId, string? hostName, string? businessLicence,
bool? prRequirement, bool? blRequirement, long? lgId, string? statuses, bool? reassigned, bool? takedownComplete,
int pageSize, int pageNumber, string orderBy = "ListingStatusSortNo", string direction = "asc")
int pageSize = 10, int pageNumber = 1, string orderBy = "ListingStatusSortNo", string direction = "asc")
{
var statusArray = statuses == null ? Array.Empty<string>() : statuses!.Split(',');

Expand All @@ -45,7 +45,7 @@ public async Task<ActionResult> GetRentalListings(string? all, string? address,
[HttpGet("grouped")]
public async Task<ActionResult> GetGroupedRentalListings(string? all, string? address, string? url, string? listingId, string? hostName, string? businessLicence,
bool? prRequirement, bool? blRequirement, long? lgId, string? statuses, bool? reassigned, bool? takedownComplete,
int pageSize, int pageNumber, string orderBy = "matchAddressTxt", string direction = "asc")
int pageSize = 10, int pageNumber = 1, string orderBy = "matchAddressTxt", string direction = "asc")
{
var statusArray = statuses == null ? Array.Empty<string>() : statuses!.Split(',');

Expand Down

0 comments on commit b1b9828

Please sign in to comment.