Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag order during API calls #36

Open
GeertvanGeest opened this issue Oct 18, 2024 · 4 comments
Open

Tag order during API calls #36

GeertvanGeest opened this issue Oct 18, 2024 · 4 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@GeertvanGeest
Copy link
Member

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):

Screenshot 2024-10-18 at 09 59 34

Here, the main tag is 'Python'. I would expect to see the same tag order here as on the website.

@GeertvanGeest GeertvanGeest added the invalid This doesn't seem right label Oct 18, 2024
@GeertvanGeest
Copy link
Member Author

The tag order is also correct with pages:

https://glittr.org/api/repositories?page[size]=50&page[number]=1

Screenshot 2024-10-18 at 10 23 11

@yhaefligsib yhaefligsib self-assigned this Oct 18, 2024
@yhaefligsib
Copy link
Collaborator

the order of tags has been fixed in API calls
image

@GeertvanGeest
Copy link
Member Author

Thanks a lot @yhaefligsib !

@GeertvanGeest
Copy link
Member Author

The issue seems to be back, is that possible?

Screenshot 2024-11-15 at 15 46 11

@GeertvanGeest GeertvanGeest reopened this Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants