Skip to content

Commit

Permalink
Merge pull request #1398 from bcgov/feature/ALCS-1651
Browse files Browse the repository at this point in the history
Do not include Draft Decisions in Decisions Filters
  • Loading branch information
dhaselhan authored Feb 7, 2024
2 parents a6ad5e2 + 7207e44 commit 754f8d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export class PublicApplicationSearchService {
query = query.leftJoin(
ApplicationDecision,
'decision',
'decision.application_uuid = "appSearch"."application_uuid"',
'decision.application_uuid = "appSearch"."application_uuid" AND decision.is_draft = FALSE',
);
return query;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class PublicNoticeOfIntentSearchService {
query = query.leftJoin(
NoticeOfIntentDecision,
'decision',
'decision.notice_of_intent_uuid = "noiSearch"."notice_of_intent_uuid"',
'decision.notice_of_intent_uuid = "noiSearch"."notice_of_intent_uuid" AND decision.is_draft = FALSE',
);
return query;
}
Expand Down

0 comments on commit 754f8d2

Please sign in to comment.