diff --git a/core/views/helpers.py b/core/views/helpers.py index ea1af94..4e51d2b 100644 --- a/core/views/helpers.py +++ b/core/views/helpers.py @@ -124,6 +124,12 @@ def obfuscate_list(user, data): second_part[index_x] = "*" * x_len result = sep.join([*first_part, *second_part]) data[index][key] = result + for key in settings.COMBINE_FIELDS: + for index, item in enumerate(data): + if key in item: + k1, k2 = settings.COMBINE_FIELDS[key] + if k1 in item and k2 in item: + data[index][key] = item[k1] + item[k2] def hash_list(user, data, hash_keys=False):