fix: reopen clears restored_at, wire settings, docs, startup warning
This commit is contained in:
@@ -643,7 +643,13 @@ def _build_calibration_due(
|
||||
agency_id = params.get("agency_id")
|
||||
status_filter = params.get("status")
|
||||
|
||||
cal_lead = int(get_setting_value(db, "calibration_lead_days", 15))
|
||||
cal_lead = int(
|
||||
get_setting_value(
|
||||
db,
|
||||
"calibration_due_window_days",
|
||||
get_setting_value(db, "calibration_lead_days", 15),
|
||||
)
|
||||
)
|
||||
red_days = int(get_setting_value(db, "red_threshold_days", 7))
|
||||
|
||||
query = (
|
||||
|
||||
Reference in New Issue
Block a user