DEV: Fix random build error
This commit is contained in:
parent
70aec8d02a
commit
f8e498f6ad
|
@ -273,6 +273,7 @@ class Theme < ActiveRecord::Base
|
|||
fields = ThemeField.find_by_theme_ids(theme_ids)
|
||||
.where(target_id: [Theme.targets[target], Theme.targets[:common]])
|
||||
.where(name: name.to_s)
|
||||
.order(:target_id)
|
||||
end
|
||||
|
||||
fields.each(&:ensure_baked!)
|
||||
|
|
Loading…
Reference in New Issue