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

Switching a site from non-primary to primary kills user search in CP #5281

Closed
thisisjamessmith opened this issue Nov 28, 2019 · 1 comment
Closed

Comments

@thisisjamessmith
Copy link

thisisjamessmith commented Nov 28, 2019

Description

In a 2-site multi-site setup I tried switching the primary site from one to the other, and afterwards, I am unable to use the keyword search on the Users index. Switching the primary site back again restores the user search functionality

Steps to reproduce

  1. Have a multi-site installation with 2 sites
  2. Create a few users
  3. Change which site is set as primary
  4. Attempt to use the search input on the Users index list

Additional info

  • Craft version: 3.3.16.1
  • PHP version: 7.1
  • Database driver & version: MySQL 5.6.38
@brandonkelly
Copy link
Member

Thanks for pointing that out! Just fixed for the next release.

In the meantime you can fix by running the ./craft resave/users command.

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

No branches or pull requests

2 participants