Skip to content

Table visualization sorts by column type and not by display type #5111

@gabrieldutra

Description

@gabrieldutra

Issue Summary

Table visualization sorter is based on the type information provided by the server and not on the display type from visualization settings.

Steps to Reproduce

  1. Create a query with String numeric values and change the display type for the column to "Number" (or just use this query)
  2. Sort the query by that column and verify that the order is alphabetical and not numeric.

Example:
Kapture 2020-08-17 at 16 29 04

I expect it to use the display type to do that, otherwise the user doesn't have an UI control of that.

Technical details:

  • Redash Version: master
  • Browser/OS: --
  • How did you install Redash: --

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions