Skip to content

Commit 13f4416

Browse files
authored
Merge pull request #909 from bcgov/bug/DSS-1150
DSS-1150 Internal Server Error - Sorting
2 parents 836bd30 + 192545d commit 13f4416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/StrDss.Data/Repositories/RentalListingRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ var extraSort
8080
}
8181
else if (orderBy == "nightsBookedYtdQty")
8282
{
83-
orderBy = "nightsBookedYtdQty == null, nightsBookedYtdQty";
83+
orderBy = "nightsBookedYtdQty";
8484
}
8585

8686
var listings = await Page<DssRentalListingVw, RentalListingViewDto>(query, pageSize, pageNumber, orderBy, direction, extraSort);

0 commit comments

Comments
 (0)