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

[4.x] Don't prompt user to select search index when there's only 1 configured #9036

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

duncanmcclean
Copy link
Member

This pull request makes a small improvement to the php please search:update command.

When you only have 1 search index configured in config/statamic/search.php, there's no point prompting the user to select which index to update, if they only have one option to pick from.

Before

CleanShot 2023-11-20 at 21 25 19

After

CleanShot 2023-11-20 at 21 25 36

@jasonvarga jasonvarga merged commit 8812a13 into 4.x Nov 20, 2023
36 checks passed
@jasonvarga jasonvarga deleted the presume-search-index-when-only-1-is-configured branch November 20, 2023 21:52
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