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

Plugin ignores "uploads: parent:" query #8

Open
ac-magma opened this issue Nov 16, 2023 · 0 comments
Open

Plugin ignores "uploads: parent:" query #8

ac-magma opened this issue Nov 16, 2023 · 0 comments

Comments

@ac-magma
Copy link

ac-magma commented Nov 16, 2023

I have several fields where I have a custom destination for the uploaded file, such as:

fields:
   sponsor_logo:
      type: files
      query: site.find('sponsors')
      uploads:
         parent: site.find('sponsors')

The first query is correctly targeted. However, uploads don't land in the specified parent folder. When I remove the plugin, the files are uploaded in the correct folder again, so the issue is with the plugin.

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

1 participant