mirror of
https://github.com/apache/superset.git
synced 2026-05-25 01:35:39 +00:00
fix(chart): improve sort_by_series description wording
Remove "secondary" from the description since sort_by_series and sort_by_metric are independent controls — either can be used alone. Clarify that the tiebreaker behavior only applies when both are enabled. Fixes prettier formatting (+ at end of line, not beginning).
This commit is contained in:
@@ -43,9 +43,10 @@ const config: ControlPanelConfig = {
|
||||
label: t('Sort by series'),
|
||||
default: false,
|
||||
description: t(
|
||||
'Include a secondary sort by series name (ascending). '
|
||||
+ 'This produces consistent ordering when multiple series have the '
|
||||
+ 'same metric value, but may reduce query performance on some databases.',
|
||||
'Sort results by series name in ascending order. ' +
|
||||
'When combined with "Sort by metric", this acts as a tiebreaker ' +
|
||||
'for equal metric values. Adding this sort may reduce query ' +
|
||||
'performance on some databases.',
|
||||
),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user