The files query does not seem to be correct in site.yml

#1

Hi, :call_me_hand:

When I try to select a file in the panel , I get this error:

The files query does not seem to be correct

This only happens for the files type in site.yml.

Here a part of my site.yml

   video_file:
     label: Video File
     type: files
     
   video_poster:
     lable: Video Poster
     type: files

Every other fields are working in my site.yml.

Looking forward for a solution. :slight_smile:

Thanks,
Simon

0 Likes

#2

This is a bug because the default is the current page, not site. Should be fixed in the next version.

You can currently work around this by explicitly querying the site.

0 Likes