From 80e74da84ff7636706c866703dece6aa1b6e00bd Mon Sep 17 00:00:00 2001 From: Matt Dunn-Rankin Date: Sun, 29 Oct 2017 15:08:22 -0700 Subject: [PATCH] whoops, re-add check for `explicitly_body_specific?` In bfd825d, we refactored the "is item body-specific?" check. In the process, we dropped the check for the manual override flag, `explicitly_body_specific?`. Not sure if it was an accident or if I was just _so_ confident that it was gonna work :P In any case, re-add the check! --- app/models/item.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/item.rb b/app/models/item.rb index 548e2c08..af449ff8 100644 --- a/app/models/item.rb +++ b/app/models/item.rb @@ -404,7 +404,7 @@ class Item < ActiveRecord::Base def body_specific? # If there are species support IDs (it's not empty), the item is # body-specific. If it's empty, it fits everyone the same. - !species_support_ids.empty? + explicitly_body_specific? || !species_support_ids.empty? end def add_origin_registry_info(info, locale)