From 83d80675f46c5e945033b35f4c694d85b0cbafc9 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Tue, 8 Nov 2022 08:05:17 +0100 Subject: [PATCH] Do not execute incompatible query if in workspace TYPO3 will adjust query for workspaces. But TYPO3 can not handle our count select. So we exclude this query as long as we are within a workspace. Workspace does not properly support mm anyway and therefore does not support our catefories/tags. --- Configuration/TypoScript/Setup/Page.typoscript | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Configuration/TypoScript/Setup/Page.typoscript b/Configuration/TypoScript/Setup/Page.typoscript index 671b169..f5a895b 100644 --- a/Configuration/TypoScript/Setup/Page.typoscript +++ b/Configuration/TypoScript/Setup/Page.typoscript @@ -66,6 +66,12 @@ page { where.insertData = 1 leftjoin = sys_category_record_mm ON sys_category_record_mm.uid_local = sys_category.uid orderBy = count DESC, sys_category.title ASC + + # Workaround broken workspace manipulation + if { + isLessThan.data = context:workspace:id + value = 1 + } } 11 < .10 11 {