Skip to content

Commit

Permalink
style(explore): clarify ambiguously named "sort by" field (apache#30254)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfirke authored and nyohasstium committed Jan 2, 2025
1 parent af923bc commit 60f233d
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,12 @@ export const dndSortByControl: SharedControlConfig<
'DndMetricSelect' | 'MetricsControl'
> = {
type: 'DndMetricSelect',
label: t('Sort by'),
label: t('Sort query by'),
default: null,
description: t(
'This metric is used to define row selection criteria (how the rows are sorted) if a series or row limit is present. ' +
'If not defined, it reverts to the first metric (where appropriate).',
'Orders the query result that generates the source data for this chart. ' +
'If a series or row limit is reached, this determines what data are truncated. ' +
'If undefined, defaults to the first metric (where appropriate).',
),
mapStateToProps: ({ datasource }) => ({
columns: datasource?.columns || [],
Expand Down

0 comments on commit 60f233d

Please sign in to comment.