You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The endpoint /api/v3/subject/<subject_uuid>/measurements calls metrics_of_subject() which doesn't look at the report date passed:
defmetrics_of_subject(database: Database, subject_uuid: SubjectId) ->list[MetricId]:
"""Return all metric uuid's for one subject, without the entities, except for the most recent one."""report_filter: dict= {f"subjects.{subject_uuid}": DOES_EXIST, "last": True}
projection: dict= {"_id": False, f"subjects.{subject_uuid}.metrics": True}
report=database.reports.find_one(report_filter, projection=projection)
returnlist(report["subjects"][subject_uuid]["metrics"].keys())
The text was updated successfully, but these errors were encountered:
…ltiple dates, Quality-time would use the latest report to decide which metrics to retrieve the measurements for, instead of the report at the date shown. Fixes#3722.
…ltiple dates, Quality-time would use the latest report to decide which metrics to retrieve the measurements for, instead of the report at the date shown. Fixes#3722.
…u… (#3735)
When showing a historic report in combination with measurements at multiple dates, Quality-time would use the latest report to decide which metrics to retrieve the measurements for, instead of the report at the date shown. Fixes#3722.
The endpoint
/api/v3/subject/<subject_uuid>/measurements
callsmetrics_of_subject()
which doesn't look at the report date passed:The text was updated successfully, but these errors were encountered: