Skip to content

Commit

Permalink
sort nfr legal descriptions by parcel id
Browse files Browse the repository at this point in the history
  • Loading branch information
mgtennant committed Jan 24, 2024
1 parent a75d21d commit 38eeef3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class AppController {
getHello(): string {
return this.appService.getHello();
}

//
@Get()
getHello2(): string {
return this.appService.getHello();
Expand Down
1 change: 1 addition & 0 deletions frontend/src/report/report.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ export class ReportService {
const interestParcels = rawData.interestParcel;
let concatLegalDescriptions = '';
if (interestParcels && interestParcels.length > 0) {
interestParcels.sort((a, b) => b.interestParcelId - a.interestParcelId);
let legalDescArray = [];
for (let ip of interestParcels) {
if (ip.legalDescription && ip.legalDescription != '') {
Expand Down

0 comments on commit 38eeef3

Please sign in to comment.