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

filtering by IPN #508

Open
spitdavid opened this issue Jul 5, 2024 · 1 comment
Open

filtering by IPN #508

spitdavid opened this issue Jul 5, 2024 · 1 comment

Comments

@spitdavid
Copy link

When I filter by IPN the numbers are not in correct order (1,2,3,4....) the filtering doesn't account number of numbers, so every number starting with 1 is before number 2 (10,101,1001...). This could be solved by adding zero before everything (0001,0002,0003....) but I find that impractical.

This issue is encountered both on web and iOS app.

@SchrodingersGat
Copy link
Member

This is a fundamental limitation of string sorting, unfortunately. The ordering is done on the server when you make an API request, and the IPN field is a non-numeric string - so ordering is done "alphabetically"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants