Skip to content

Handle Hierarchy sorting order for the topics #134

@ismail-shahzad

Description

@ismail-shahzad

We need to sort the topics hierarchy elements as requested by the client (Its not a bug).

Description

Currently we are getting alphabetically ordered group names but that considers 10 as 1 and 0 thus sorting Group no 10: before Group no 1: (similarly for others too as shown in the image below).

This is not a bug but the default behaviour of CKAN. We looked into solving this in CKAN backend but personalizing sort according to this specific topic may interfere this with the rest of the group hierarchies and may get a bit tricky. Thus we decided this to handle this in the frontend while displaying the groups.

image

Acceptance

  • Topic titles are shown in ascending order while considering the group number as number instead of seperate strings

Tasks

  • Analyse and perform fix
  • Raise it to PM if any blockers or feasibility issues are there

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions