-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[SearchSource] Investigate why sort options is a string that needs to be parsed #89902
Copy link
Copy link
Closed
Closed
Copy link
Labels
Feature:SearchQuerying infrastructure in KibanaQuerying infrastructure in KibanaTeam:DataDiscoveryDiscover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//impact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.Addressing this issue will have a low level of impact on the quality/strength of our product.loe:smallSmall Level of EffortSmall Level of Efforttechnical debtImprovement of the software architecture and operational architectureImprovement of the software architecture and operational architecturezDeprecated Feature:ReportingUse Reporting:Screenshot, Reporting:CSV, or Reporting:Framework insteadUse Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead
Metadata
Metadata
Assignees
Labels
Feature:SearchQuerying infrastructure in KibanaQuerying infrastructure in KibanaTeam:DataDiscoveryDiscover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//impact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.Addressing this issue will have a low level of impact on the quality/strength of our product.loe:smallSmall Level of EffortSmall Level of Efforttechnical debtImprovement of the software architecture and operational architectureImprovement of the software architecture and operational architecturezDeprecated Feature:ReportingUse Reporting:Screenshot, Reporting:CSV, or Reporting:Framework insteadUse Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is a follow-up issue regarding
kibana/src/plugins/data/common/search/search_source/normalize_sort_request.ts
Line 31 in 8a8028e
The
defaultSortOptionsobject should always be correctly typed. Somewhere before the data reaches this function, it becomes a serialized string that needs to be re-converted into an object with JSON.parse.