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

Assets on a site with multiple locales only get indexed in the primary locale #17

Closed
angrybrad opened this issue Jan 29, 2017 · 2 comments
Assignees
Labels
bug severity:normal Bugs that affect typical usage

Comments

@angrybrad
Copy link
Member

Environment:

  • Craft version: 3.x
  • PHP version: 7.x
  • Database driver & version: n/a
  • Plugins & versions:

Description:

When you upload an asset to Craft and there are multiple locales available, then search/index service only indexes element attributes for the primary locale of the site causing you to not be able to search for that file in other locales.

@brandonkelly
Copy link
Member

@andris-sevcenko if asset indexing goes through craft\services\Elements::saveElement() this shouldn't be the case.

@andris-sevcenko
Copy link
Contributor

As of 7ecb943 it definitely goes through craft\services\Elements::saveElement()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug severity:normal Bugs that affect typical usage
Projects
None yet
Development

No branches or pull requests

3 participants