mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-28 09:24:24 +01:00
(bug) unable to show gender wowan in member export
This commit is contained in:
parent
7092ea2de3
commit
332927da1c
@ -31,7 +31,7 @@ module ExcelHelper
|
||||
user&.profile&.full_name || t('export.deleted_user'),
|
||||
user&.email || '',
|
||||
user&.profile&.phone || '',
|
||||
hit['_source']['gender'].present? ? t("export.#{hit['_source']['gender']}") : '',
|
||||
hit['_source']['gender'].nil? ? t("export.#{hit['_source']['gender']}") : '',
|
||||
hit['_source']['age'],
|
||||
subtype.nil? ? '' : subtype.label
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user