Skip to content

[4.x]: GraphQL returning newest revision notes for all revisions #16909

@andidi144

Description

@andidi144

What happened?

Description

When getting revision notes from entry revisions with GraphQL, it will only return the newest revision notes for all the revisions.

Steps to reproduce

  1. Create an entry in a section with versioning enabled.
  2. Save changes with revision notes.
  3. Save changes with different revision notes again.
  4. Query the entry data with revisions and revision notes over GraphQL.

Expected behavior

The revision returned from the GraphQL query should contain the revision notes saved with that specific revision.

Actual behavior

The revisions returned from the GraphQL query all contain the newest revision notes.

Image

Image

Craft CMS version

4.14.10

PHP version

8.2.26

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions