Skip to content

Commit

Permalink
Provide information on the calculated_last_name query
Browse files Browse the repository at this point in the history
  • Loading branch information
wwahammy committed Dec 8, 2024
1 parent 43c708d commit 611a329
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/legacy_lib/query_supporters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,8 @@ def self.loose_name_match
"regexp_replace (lower(name),'[^0-9a-z]','','g')"
end

# gets the last words in the name field. If there's a single word, it gets that. If there's multiple words, then it just gets
# everything but the first one
def self.calculated_last_name
"
CASE
Expand Down

0 comments on commit 611a329

Please sign in to comment.