Skip to content
Snippets Groups Projects
Commit e4d08f11 authored by Morton Jonuschat's avatar Morton Jonuschat Committed by Wouter Wolters
Browse files

[TASK] Doctrine: Introduce backend query context to exclude Placeholders

This patch adds a new query context BACKEND_NO_VERSIONING_PLACEHOLDERS
that de-selects versioning placeholders from other workspaces in the
same way that BackendUtility::versioningPlaceholdersClause() does. Usage
as follows:

$queryBuilder
  ->getQueryContext()
  ->setContext(QueryContextType::BACKEND_NO_VERSIONING_PLACEHOLDERS)
  ->setCurrentWorkspace(4);

Releases: master
Resolves: #75821
Change-Id: Iaa238f3da803c6d2dd23f0240cb2c409a39eec58
Reviewed-on: https://review.typo3.org/47827


Reviewed-by: default avatarJonathan IROULIN <joniroutypo3@gmail.com>
Tested-by: default avatarJonathan IROULIN <joniroutypo3@gmail.com>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent 7ec4d01e
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment