Project

General

Profile

Actions

Bug #24679

closed

be_layout foreign_table_where

Added by Steffen Gebert almost 14 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2011-01-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

17161.diff (1.92 KB) 17161.diff Administrator Admin, 2011-01-20 14:30
17161_v2.diff (1.99 KB) 17161_v2.diff Administrator Admin, 2011-01-20 14:34
17161_v3.diff (2.06 KB) 17161_v3.diff Administrator Admin, 2011-01-21 13:06
17161_v4.diff (2.06 KB) 17161_v4.diff Administrator Admin, 2011-01-21 14:06
17161_v5.diff (2.06 KB) 17161_v5.diff Administrator Admin, 2011-01-21 15:55
17161_v6.diff (1.66 KB) 17161_v6.diff Administrator Admin, 2011-01-21 16:02
Actions

Also available in: Atom PDF