Skip to content

The list view does not show Status "changed" #14449

@GermanJablo

Description

@GermanJablo

Describe the Bug

According to the docs:

Admin UI status indication

Within the Admin UI, if drafts are enabled, a document can be shown with one of three "statuses":

  1. Draft - if a document has never been published, and only draft versions of the document are present
  2. Published - if a document is published and there are no newer drafts available
  3. Changed - if a document has been published, but there are newer drafts available and not yet published

✅ The status "Changed" works correctly in Document View

Image

❌ But not in the List View

Image

Link to the code that reproduces this issue

https://github.com/payloadcms/payload

Reproduction Steps

  1. pnpm dev versions
  2. go to http://localhost:3000/admin/collections/draft-posts
  3. Enter a document that has published status
  4. Modify something in the document and press "save draft"
  5. At the top of the document you will see "Status: changed". This is correct.
  6. But if you go back to the List View, you'll see that the status column says draft.

Which area(s) are affected? (Select all that apply)

area: ui

Environment Info

payload: 3.62.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions