Closed xrotwang closed 4 years ago
For ordinal variables, the numeric value (in float_value) should be used for sorting, but the text value should be displayed in the Datapoints table.
float_value
Datapoints
Seems to be the case, see https://github.com/clld/dplace2/blob/11a96e510d264cf372b2370001ca90c50c25cea5/dplace2/datatables.py#L205
For ordinal variables, the numeric value (in
float_value
) should be used for sorting, but the text value should be displayed in theDatapoints
table.