Skip to content

[TASK]: Proper HT / Mat Table sort order that is connected with backend sort order #2013

@correct-horse-battery-bench

Description

Description

Improve ht table sorting implementation and typing.

During #2010 it was noted that the default sort order is not sent to the backend but has been implicit in certain cases. Sorted in backend by default by priority descending, the frontend showed the correct column descended but did not actually send the sorting parameter to the backend.

This means there was an implicite connection between frontend and backend.

Solution: Type the column properly and use the same 'dataKey' (what is sent to the backend) also as column id that is sorted (what is shown in the table up/down arrow) and also type the dataKey.
The 'dataKey' should only be a valid column/attribute name of an entity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement of existing features / Small additionuiHashtopolis UI related

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions