Bug #24635 ยป foreign-sorting.patch
t3lib/class.t3lib_loaddbgroup.php (working copy) | ||
---|---|---|
// Always add the pointer to the parent uid
|
||
if ($isOnSymmetricSide) {
|
||
$updateValues[$symmetric_field] = $parentUid;
|
||
} else {
|
||
} elseif(isset($foreign_field)) {
|
||
$updateValues[$foreign_field] = $parentUid;
|
||
}
|
||
|
t3lib/class.t3lib_tcemain.php (working copy) | ||
---|---|---|
$newValue = ($keepTranslation ? 0 : $dbAnalysis->countItems(FALSE));
|
||
// IRRE with MM relation:
|
||
} else {
|
||
$skipSorting = ($this->callFromImpExp ? TRUE : FALSE);
|
||
$dbAnalysis->writeForeignField($tcaFieldConf, $id, 0, $skipSorting);
|
||
|
||
if ($this->getInlineFieldType($tcaFieldConf) == 'mm') {
|
||
// in order to fully support all the MM stuff, directly call checkValue_group_select_processDBdata instead of repeating the needed code here
|
||
$valueArray = $this->checkValue_group_select_processDBdata($valueArray, $tcaFieldConf, $id, $status, 'select', $table, $field);
|
||