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 pagination of proxy user search component #1225

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Fix pagination of proxy user search component #1225

merged 1 commit into from
Oct 13, 2023

Conversation

markpatton
Copy link
Contributor

@markpatton markpatton commented Oct 12, 2023

This pr corrects the pagination with elide and makes sure we grab the total pages from the meta block of the result.
In addition the user query is normalized so that special characters don't make the query invalid.

@markpatton markpatton linked an issue Oct 12, 2023 that may be closed by this pull request
Copy link
Contributor

@jaredgalanis jaredgalanis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. The only thing I'd suggest is removing the two newly generated but empty files. I'm guessing that's some kind of auto-generated behavior based on your editor or something.

As you have mentioned, this is currently a bit difficult to test manually given the lack of users in the db. I can follow up with a PR for an automated test if you want.

@markpatton
Copy link
Contributor Author

Oh jeez. I somehow committed some empty files. Will fix.

@jaredgalanis jaredgalanis merged commit 8c9a918 into main Oct 13, 2023
@jaredgalanis jaredgalanis deleted the 766-proxy branch October 13, 2023 12:15
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.

Fix lookup of user in proxy workflow
2 participants