Fix batch row status breakdown, for rows with no status
This commit is contained in:
parent
c3637bc416
commit
fb3105c099
1 changed files with 8 additions and 7 deletions
|
@ -170,6 +170,7 @@ class BatchMasterView(MasterView):
|
|||
"""
|
||||
breakdown = {}
|
||||
for row in batch.active_rows():
|
||||
if row.status_code is not None:
|
||||
if row.status_code not in breakdown:
|
||||
breakdown[row.status_code] = {
|
||||
'code': row.status_code,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue