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

Bug when loading measurement entries #782

Open
rolandgeider opened this issue Sep 12, 2023 · 0 comments
Open

Bug when loading measurement entries #782

rolandgeider opened this issue Sep 12, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@rolandgeider
Copy link
Member

rolandgeider commented Sep 12, 2023

It seems only the first 20 measurement entries per category are loaded. Besides increasing the page size in src/services/measurements.ts, we should also use fetchPaginated since there can potentially be many entries per category.

@rolandgeider rolandgeider added the bug Something isn't working label Sep 12, 2023
@rolandgeider rolandgeider added the good first issue Good for newcomers label Oct 15, 2023
StijnKing added a commit to StijnKing/wger-react that referenced this issue Apr 1, 2024
When all measurements of a specific category where fetched,
it would only receive the first 20 even tough there were
more. This is now fixed by fetching all pages.

See: wger-project#782
StijnKing added a commit to StijnKing/wger-react that referenced this issue Apr 1, 2024
The measurement detail page would only show the first 20 measurements
instead of all measurements.

See: wger-project#782
rolandgeider pushed a commit that referenced this issue May 1, 2024
When all measurements of a specific category where fetched,
it would only receive the first 20 even tough there were
more. This is now fixed by fetching all pages.

See: #782
rolandgeider pushed a commit that referenced this issue May 1, 2024
The measurement detail page would only show the first 20 measurements
instead of all measurements.

See: #782
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant