Skip to content

Commit

Permalink
style(explore): clarify ambiguously named "sort by" field (#30254)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfirke authored Sep 18, 2024
1 parent a395205 commit 08145d8
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 08145d8

Please sign in to comment.