From 97b595d55173828198413fd9800929e26e6bd051 Mon Sep 17 00:00:00 2001 From: Eric Promislow Date: Thu, 7 Aug 2025 13:28:30 -0700 Subject: [PATCH] Implement sorting by status.lastScheduleTime and status.lastSuccessfulTime. (#766) Note that it will be possible to filter against these fields, but that doesn't sound too useful, as you'd have to compare against a date string. --- pkg/stores/sqlproxy/proxy_store.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/stores/sqlproxy/proxy_store.go b/pkg/stores/sqlproxy/proxy_store.go index 79fdeb61..e51bdaa6 100644 --- a/pkg/stores/sqlproxy/proxy_store.go +++ b/pkg/stores/sqlproxy/proxy_store.go @@ -120,6 +120,8 @@ var ( gvkKey("batch", "v1", "CronJob"): { {"metadata", "annotations", "field.cattle.io/publicEndpoints"}, {"spec", "jobTemplate", "spec", "template", "spec", "containers", "image"}, + {"status", "lastScheduleTime"}, + {"status", "lastSuccessfulTime"}, }, gvkKey("batch", "v1", "Job"): { {"metadata", "annotations", "field.cattle.io/publicEndpoints"},