Skip to content

Plugin ignores "uploads: parent:" query #8

@ac-magma

Description

@ac-magma

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions