Use an entityQuery in getPartialItemIds

Created on 13 February 2024, 9 months ago
Updated 27 February 2024, 9 months ago

Problem/Motivation

Currently in ContentEntityRevisions::getPartialItemIds, we currently do 1 query for the entities, and then another for each entity returned by the first query to get all the revision ids. We don't need to do that - we can get all revision ids in a single query. This will massively decrease the number of queries required.

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇦🇺Australia acbramley

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024