From c072ace9cd03f5d329d03cc73705f13fc083d66d Mon Sep 17 00:00:00 2001 From: owensmallwood Date: Sat, 6 Sep 2025 02:13:29 -0600 Subject: [PATCH] Unified Storage: Fix enterprise sort fields missing data (#110730) --- public/app/features/search/service/unified.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/app/features/search/service/unified.ts b/public/app/features/search/service/unified.ts index e4ce38346e8..272881a478a 100644 --- a/public/app/features/search/service/unified.ts +++ b/public/app/features/search/service/unified.ts @@ -148,8 +148,9 @@ export class UnifiedSearcher implements GrafanaSearcher { const field = first.fields.find((f) => f.name === meta.sortBy); if (field) { const name = getSortFieldDisplayName(field.name); - meta.sortBy = name; - field.name = name; // make it look nicer + // We don't want to directly change the field name, just the display name + // When the columns names get generated it uses getFieldDisplayName(), which will check if there is a field.config.displayName + field.config.displayName = name; } }