wpengine / atlas-content-modeler

Content modeling plugin for WordPress
https://developers.wpengine.com/docs/atlas-content-modeler
GNU General Public License v2.0
165 stars 13 forks source link

Relationship field is displaying all model entries after some time #665

Closed NazarTikhoniuk closed 1 year ago

NazarTikhoniuk commented 1 year ago

When trying to add a new entry for a model with a relationship field, after a while list of all entries for the related model will appear in the field. Tested it both for the custom theme and clean WordPress installation.

To reproduce

  1. Create a model, add any fields and add a few entries to it.
  2. Create another model and add a relationship field connecting the first created model.
  3. Go to the "Add New" screen of the second created model (with relationship field) and wait a while.
  4. See the list of all entries of the first created model appear.

Expected behavior

Only related entries of another model should be displayed.

Screenshots

image

Version information

Additional context

It is only a visual issue. After publishing or updating an entry, all entries from the list of the related model are not saved.

On "Add New": image

Right after publishing: image

mindctrl commented 1 year ago

@NazarTikhoniuk thank you for the report. As you noted, it's a visual bug. We're tracking it here https://github.com/wpengine/atlas-content-modeler/issues/627. I'll close this one out and leave the original one open, and link back to here for additional context.