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

Issue-187: Page size is displayed incorrectly #188

Merged
merged 5 commits into from
Aug 20, 2024

Conversation

mogmarsh
Copy link
Contributor

@mogmarsh mogmarsh commented Aug 20, 2024

Summary

This PR addresses the issue described in Page size is displayed incorrectly. It corrects the page size display when running the command with a page size of 1000 or above.

Fixes #187

Description

When the page size is set to 1000 or above, the message displayed in the CLI is incorrect. This fix ensures that the correct page size is displayed, improving the accuracy of the feedback provided to the user. The update involves a change to expect a string for the page size, ensuring that larger numbers are handled correctly.

How to Test

  1. Run the command wp searchpress index --flush --put-mapping with a page size of 1000 or higher.
  2. Observe the output in the CLI to confirm that it correctly states the number of posts being indexed at a time.

Additional Information

No additional information provided.

@mogmarsh mogmarsh marked this pull request as ready for review August 20, 2024 15:16
Copy link

@kingkool68 kingkool68 left a comment

Choose a reason for hiding this comment

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

🥇

@mogmarsh mogmarsh changed the base branch from main to release/0.5.1 August 20, 2024 16:05
@mogmarsh mogmarsh merged commit d7031af into release/0.5.1 Aug 20, 2024
5 checks passed
@mogmarsh mogmarsh deleted the fix/issue-187/page-size-displayed-incorrectly branch August 20, 2024 16: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.

Page size is displayed incorrectly
3 participants