fix: optimize jobs list run incremental refresh performance

This commit is contained in:
Ruben Fiszel
2025-06-24 16:21:20 +02:00
parent 29719ac504
commit 1bdd00a3e4
+1
View File
@@ -5875,6 +5875,7 @@ pub fn filter_list_completed_query(
sqlb.and_where_le("started_at", "?".bind(&dt.to_rfc3339()));
}
if let Some(dt) = &lq.created_or_started_after {
sqlb.and_where_ge("created_at", "?".bind(&dt.to_rfc3339()));
sqlb.and_where_ge("started_at", "?".bind(&dt.to_rfc3339()));
}