1
0
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:
Du Peng 2024-06-11 19:24:37 +02:00
parent 7092ea2de3
commit 332927da1c

View File

@ -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
]