Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Transformer.transformQuery() does not preserve sortBy filter
Description
The method uses the original datastore's QueryCapabilities object to check whether sorting is supported, but the check is done against the wrong SortBy filter (i.e. the one referring to the renamed properties), which results in the transformed query's getSortBy() method always returning null.
The method uses the original datastore's
QueryCapabilities
object to check whether sorting is supported, but the check is done against the wrongSortBy
filter (i.e. the one referring to the renamed properties), which results in the transformed query'sgetSortBy()
method always returningnull
.