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

fix: 400 error on the datasets page when changing the number of items per page #1151

Merged

Conversation

Junjiequan
Copy link
Contributor

@Junjiequan Junjiequan commented Apr 3, 2024

Description

Changing the items-per-page value on the Datasets page throws a 400 Bad Request error.

Fixes:

replace misused DTO with the correct one for updateSettings API in users controller.

Changes:

Added API test for the fix

Tests included/Docs Updated?

  • Included for each change/fix?
  • Passing? (Merge will not be approved unless this is checked)
  • Docs updated?
  • New packages used/requires npm install?
  • Toggle added for new features?

@Junjiequan Junjiequan marked this pull request as ready for review April 3, 2024 14:55
@Junjiequan Junjiequan force-pushed the SWAP-3895-scicat-change-items-per-page-number-when-logged-i branch from b7d8090 to 0151989 Compare April 4, 2024 10:04
@Junjiequan Junjiequan force-pushed the SWAP-3895-scicat-change-items-per-page-number-when-logged-i branch from 0151989 to 5cb876e Compare April 5, 2024 14:46
@Junjiequan Junjiequan merged commit d81cbf0 into master Apr 5, 2024
7 checks passed
@Junjiequan Junjiequan deleted the SWAP-3895-scicat-change-items-per-page-number-when-logged-i branch April 5, 2024 17:49
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

Successfully merging this pull request may close these issues.

2 participants