diff --git a/Configuration/TypoScript/Setup/Page.typoscript b/Configuration/TypoScript/Setup/Page.typoscript index f5a895b..220ec62 100644 --- a/Configuration/TypoScript/Setup/Page.typoscript +++ b/Configuration/TypoScript/Setup/Page.typoscript @@ -61,11 +61,11 @@ page { as = assignedTopics table = sys_category pidInList = 2 - selectFields = sys_category.*, count(sys_category_record_mm.uid_foreign) as count + selectFields = sys_category.* where = sys_category_record_mm.uid_foreign = {page:uid} AND sys_category.parent = 1 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 + orderBy = sys_category.title ASC # Workaround broken workspace manipulation if {