Issue Bug Closed

#24679be_layout foreign_table_where

Steffen Gebert 01/20/11, 11:01 updated 03/08/12, 16:53

Description

If a General Record Storage Page (GRSP) is configured, which is very likely the case, when you use tt_news, then TYPO3 searches for be_layout records only on the GRSP page and the PAGE_TSCONFIG_ID.

If no GRSP is configured, it uses records from everywhere.

I suggest do always include records from the page, which properties are currently edited, to make the feature a bit more fool-proof.

‘foreign_table_where’ => ‘AND ( ( ###PAGE_TSCONFIG_ID### = 0 AND ###STORAGE_PID### = 0 ) OR ( be_layouts.pid = ###PAGE_TSCONFIG_ID### OR be_layouts.pid = ###STORAGE_PID### ) ) AND be_layouts.hidden = 0’,
‘

(issue imported from #M17161)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.