Skip to content

Commit

Permalink
Merge pull request #1624 from bcgov/feature/ALCS-1813-2
Browse files Browse the repository at this point in the history
remove clause to check for alr_application_land_ind in inquiries
  • Loading branch information
lstod authored Apr 25, 2024
2 parents 67770c2 + f467cc7 commit 42f8a35
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ WITH parcels_to_insert AS (
osp.subject_property_id
FROM alcs.inquiry i
JOIN oats.oats_subject_properties osp ON osp.issue_id = i.file_number::bigint
WHERE osp.alr_application_land_ind = 'Y' -- ensure that only parcels related to application/issue are selected
)
SELECT uuid AS inquiry_uuid,
op.civic_address,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ WITH parcels_to_insert AS (
osp.subject_property_id
FROM alcs.inquiry i
JOIN oats.oats_subject_properties osp ON osp.issue_id = i.file_number::bigint
WHERE osp.alr_application_land_ind = 'Y' -- ensure that only parcels related to application/issue are selected
)
SELECT COUNT(*)
FROM parcels_to_insert pti
Expand Down

0 comments on commit 42f8a35

Please sign in to comment.