#16103Enable language dependent fetching of DB fields
Description
At the moment you can read the e. g. title of a page (type sysfolder) with either stdWrap.data/getText or RECORDS. But non of them takes language settings into account. The only chance to retrieve the title language-dependant is to set up a HMENU with only one entry.
This should be changed so that both RECORDS and getData would use the title field of the table pages_language_overlay instead of the pages table.
10 = RECORDS
10 {
tables = pages
source = 59
dontCheckPid = 1
conf.pages = COA
conf.pages {
10 = TEXT
10 {
field = title
}
}
}
20 = TEXT
20.data = DB : pages:59:title
(issue imported from #M3374)Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.