You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reordering an orderable collection (max_depth: 1) with a multi site setup, all entires in the collection are fetched without a filter for the active site.
This again causes an error when saving the reordering, and afterwards all pages fail.
How to Reproduce
From a fresh installation:
Make site a multi-site
Create a new collection
Configure the collection to be orderable, max depth: 1, and enable it for both sites
Create two entries and enable them for both sites
The error can even be triggered with a single entry enabled for both sites
Click "Reorder"
Here all 4 entries are shown
Click "Save order"
An error happens
Extra Detail
After the reorder the collection tree looks something like this:
Bug Description
When reordering an orderable collection (
max_depth: 1
) with a multi site setup, all entires in the collection are fetched without a filter for the active site.This again causes an error when saving the reordering, and afterwards all pages fail.
How to Reproduce
From a fresh installation:
Extra Detail
After the reorder the collection tree looks something like this:
So it appears as if only the id's for the active site is inserted.
Environment
Statamic version: v3.0.0-beta.28
PHP version: 7.4
Install method (choose one): Fresh install from
statamic/statamic
The text was updated successfully, but these errors were encountered: