Bug #17450
closedNo language overlay with TS select on table pages
0%
Description
It is not possible to make a TS select at the table pages on a multilanguage page!
Titles are not translated and none-translated pages are shown too
If I try to use the languageField = sys_language_uid I get an error "unknown field 'sys_language_uid' in where clause." and I also can't make the select on the pages_language_overlay.
TS to reproduce:
temp.test = CONTENT
temp.test.TPL_CONTENT {
table = pages
select {
pidInList = 68
orderBy = sorting DESC
#languageField = sys_language_uid
}
renderObj = COA_INT
renderObj {
10 = TEXT
10.field = title
}
}
(issue imported from #M5918)
Files
Updated by Georg Ringer over 17 years ago
ok a workaround could be
[ globalVar = GP:L = 1 ]
temp.test.select {
join= pages_language_overlay ON
andWhere {
data = TSFE:sys_language_content
wrap = pages_language_overlay.sys_language_uid=|
}
}
[global]
is this the way to do it?
Updated by Tolleiv Nietsch almost 14 years ago
Committed to trunk (rev. 9687) - Thanks for your patience ;)