Closed GeertvanGeest closed 2 hours ago
When I do an API call for a specific repository, e.g. https://glittr.org/api/repositories?filter[name]=theislab/single-cell-tutorial, the tag order is the same as represented on the website. In the example the first (and main tag) would be 'Single-cell sequencing'. However, when I do an API call on all repositories with https://glittr.org/api/repositories. The order of the tags is different (the example is entry 42):
Here, the main tag is 'Python'. I would expect to see the same tag order here as on the website.
The tag order is also correct with pages:
https://glittr.org/api/repositories?page[size]=50&page[number]=1
the order of tags has been fixed in API calls
Thanks a lot @yhaefligsib !
When I do an API call for a specific repository, e.g. https://glittr.org/api/repositories?filter[name]=theislab/single-cell-tutorial, the tag order is the same as represented on the website. In the example the first (and main tag) would be 'Single-cell sequencing'. However, when I do an API call on all repositories with https://glittr.org/api/repositories. The order of the tags is different (the example is entry 42):
Here, the main tag is 'Python'. I would expect to see the same tag order here as on the website.