Closed sloncocs closed 1 year ago
A little investigation shows that the category code was used to query the actual category, filter and sort as shown below.
The category codes for 'Social Networking' and 'Terrorism and Militants' are GRP
and MILX
respectively which do not closely follow like others. For example:
ANON
GOVT
HACK
LGBT
MISC
This issue also affects categories like 'E-commerce' and 'Media sharing' because their category codes are COMM
and MMED
respectively.
A better solution will be to make the changes to the category codes in the OONI API but this will require the core team because there might be reasons why these conventions were used.
If for some reason these codes can not be easily changed, the sorting algorithm might have to be changed.
TL;DR: input from the core team is needed.
Expected Behavior
The list of website categories should be similarly structured in alphabetical order in all interfaces.
Actual Behavior
In the Filters section and in the dashboard, the 'Social Networking' and 'Terrorism and Militants' categories are in the wrong places.
Steps to Reproduce the Problem
Specifications
NA