Commit 2072d47
authored
Fix Telco status (#277)
As part of the REVAMP work, on March 25th, Telco added an explicit "status"
field to the job record to help the CPT dashboard with filtering. However,
this field wasn't retrofitted to older jobs, and the dashboard code didn't
properly handle older records with the field missing.
This simply changes the `["status"]` reference to `.get("status")`, providing
a default `other` value for jobs with a missing status, which is consistent
with the `search.py` generation of values for the filter dropdowns.1 parent 500a23d commit 2072d47
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments