diff --git a/app/models/duplicate_application.rb b/app/models/duplicate_application.rb index 511627f6..c149e3f8 100644 --- a/app/models/duplicate_application.rb +++ b/app/models/duplicate_application.rb @@ -35,7 +35,8 @@ class DuplicateApplication < ApplicationRecord joins(:applicant).where( "applicants.email_address ILIKE :term OR applicants.passport_number ILIKE :term OR - applicants.phone_number ILIKE :term", + applicants.phone_number ILIKE :term OR + applicants.ip_address ILIKE :term", term:, ) }