mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
[no ci] handle matters with no holds
This commit is contained in:
@@ -37860,7 +37860,7 @@ def printShowUserVaultHolds(entityList):
|
|||||||
matterId = matter['matterId']
|
matterId = matter['matterId']
|
||||||
matterName = matter['name']
|
matterName = matter['name']
|
||||||
matterNameId = formatVaultNameId(matterName, matterId)
|
matterNameId = formatVaultNameId(matterName, matterId)
|
||||||
for hold in matter['holds']:
|
for hold in matter.get('holds', []):
|
||||||
if 'orgUnit' in hold:
|
if 'orgUnit' in hold:
|
||||||
orgUnitId = hold['orgUnit'].get('orgUnitId')
|
orgUnitId = hold['orgUnit'].get('orgUnitId')
|
||||||
if orgUnitId in orgUnits:
|
if orgUnitId in orgUnits:
|
||||||
|
|||||||
Reference in New Issue
Block a user