You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Funnel Chart Panel offers the option to set the sort direction. However, it appears that it is not sorting anything.
What I noticed and it might be the issue that the response for the call /items/traffic?limit=-1&filter[_and][1][platform][_nempty]=true&aggregate[sum]=visits&groupBy[]=platform contains the following data:
Extension
Something else
Describe the Bug
The Funnel Chart Panel offers the option to set the sort direction. However, it appears that it is not sorting anything.
What I noticed and it might be the issue that the response for the call
/items/traffic?limit=-1&filter[_and][1][platform][_nempty]=true&aggregate[sum]=visits&groupBy[]=platform
contains the following data:The visits are a string in this case. Even though the data model says it is an integer.
The code for sorting tries to use arithmetic operations: https://github.com/directus-labs/extensions/blob/main/packages/funnel-chart-panel/src/panel.vue#L142-L144
To Reproduce
platform
(string),visits
(integer),date
(date)Directus Version
v11.3.5
Hosting Strategy
Self-Hosted (Docker Image)
The text was updated successfully, but these errors were encountered: