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.
This commit is contained in:
parent
d1ae3ae89c
commit
83d80675f4
1 changed files with 6 additions and 0 deletions
|
@ -66,6 +66,12 @@ page {
|
||||||
where.insertData = 1
|
where.insertData = 1
|
||||||
leftjoin = sys_category_record_mm ON sys_category_record_mm.uid_local = sys_category.uid
|
leftjoin = sys_category_record_mm ON sys_category_record_mm.uid_local = sys_category.uid
|
||||||
orderBy = count DESC, sys_category.title ASC
|
orderBy = count DESC, sys_category.title ASC
|
||||||
|
|
||||||
|
# Workaround broken workspace manipulation
|
||||||
|
if {
|
||||||
|
isLessThan.data = context:workspace:id
|
||||||
|
value = 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
11 < .10
|
11 < .10
|
||||||
11 {
|
11 {
|
||||||
|
|
Loading…
Reference in a new issue