diff --git a/app/models/item.rb b/app/models/item.rb index 28cfd3b..5a1bc75 100644 --- a/app/models/item.rb +++ b/app/models/item.rb @@ -51,6 +51,12 @@ def titles(options = {}) # @return [Array] # downcase first letter if rights statement is URI def rights + # This conditional is a temporary fix for NYPL rights. It returns a general + # rights statement only in absence of a standarized rights statement. + # This should be removed one the NYPL mapping is fixed. + return if provider == "The New York Public Library" && + standardized_rights_statement.present? + Array.wrap(@sourceResource['rights']) end