Coalesce on User.active when merging

This commit is contained in:
Lance Edgar 2020-08-09 14:32:16 -05:00
parent 4371574403
commit 163134326a

View file

@ -86,6 +86,7 @@ class UsersView(PrincipalMasterView):
merge_coalesce_fields = [ merge_coalesce_fields = [
'person_uuid', 'person_uuid',
'person_name', 'person_name',
'active',
] ]
merge_fields = merge_additive_fields + [ merge_fields = merge_additive_fields + [
'uuid', 'uuid',
@ -93,7 +94,6 @@ class UsersView(PrincipalMasterView):
'person_uuid', 'person_uuid',
'person_name', 'person_name',
'role_count', 'role_count',
'active',
] ]
def query(self, session): def query(self, session):