Skip to content

Commit

Permalink
Search by ip address
Browse files Browse the repository at this point in the history
  • Loading branch information
raul-gracia committed Sep 25, 2023
1 parent e4e3cc0 commit 40499fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/duplicate_application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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:,
)
}
Expand Down

0 comments on commit 40499fa

Please sign in to comment.