From 50a444d38de8054f37335b3cc42dc65fcf1e4237 Mon Sep 17 00:00:00 2001 From: Grain-Yu Date: Wed, 29 Nov 2023 15:10:42 +0800 Subject: [PATCH] draft --- sql/slowlog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/slowlog.py b/sql/slowlog.py index 94bffbf..a651b61 100644 --- a/sql/slowlog.py +++ b/sql/slowlog.py @@ -67,7 +67,7 @@ def slowquery_review(request): fingerprint__icontains=search, **filter_kwargs ) - .annotate(SQLText=F("fingerprint"), SQLId=F("checksum"), ReviewedBy=F("reviedwd_by"), ReviewedOn=F("reviewed_on"), Comments=F("comments"), ReviewedStatus=F("reviewed_status")) + .annotate(SQLText=F("fingerprint"), SQLId=F("checksum"), ReviewedBy=F("reviewed_by"), ReviewedOn=F("reviewed_on"), Comments=F("comments"), ReviewedStatus=F("reviewed_status")) .values("SQLText", "SQLId", "ReviewedBy", "ReviewedOn", "Comments", "ReviewedStatus") .annotate( CreateTime=Max("slowqueryhistory__ts_max"),