fix: #3591704 Hide non-default-translation auto-saves from the pending-changes GET response

Filter non-default-translation auto-saves from ApiAutoSaveController::get() so the pending-changes review UI shows one row per entity (its default language) instead of one row per translation.

The auto-save entries remain in the store and are still publishable via the POST endpoint. Only the GET response is filtered, so no client-side changes are needed.

Testing instructions

  • Run the kernel tests: vendor/bin/phpunit tests/src/Kernel/ApiAutoSaveControllerTranslationTest.php

Closes #3591704

Merge request reports

Loading