Report results doesn't show select_user_with_role_ field values
philayres opened this issue · comments
Edit has been recently fixed (at FPHS).
selection_options_handler.rb has a condition that never allows the select_user... field to be processed in the block below:
elsif alt_fn.index(/^(tag_)?select_record_/)
group_split_char = edit_as[:group_split_char]
label_attr = edit_as[:label_attr] || :data
value_attr = if alt_fn.index(/^(tag_)?select_record_id_/)
:id
elsif alt_fn.index(/^(tag_)?select_user_with_role_/)
label_attr = :email
:email
else
edit_as[:value_attr] || :data
end
Trying to make the change to the condition:
elsif alt_fn.index(/^(tag_)?select_(record|user_with_role)_/)
doesn't fix it. It is likely that select_user_with_role_
should be processed completely separately, following the model in the edit field view.