[TYPO3-german] Re: Sortierung von Child-Objects?

M S ms at ipandmore.de
Thu Feb 18 09:04:58 CET 2016


Hallo Stephan,

gerne versuche ich das mal kurz darzustellen.

Ich habe ein Element "Haus" und ein Element "Bewohner". Beide sind via 1:n miteinander verknüpft.

Auszug aus TCA "Bewohner" (Teil columns)
'bewohner' => array(
 'exclude' => 1,
 'label' => 'LLL:EXT:[EXTNAME]Resources/Private/Language/locallang_db.xlf:tx_[EXTNAME]_domain_model_haus.bewohner',
 'config' => array(
  'type' => 'inline',
  'foreign_table' => 'tx_[EXTNAME]_domain_model_bewohner',
  'foreign_field' => 'haus',
  'foreign_sortby' => 'vorname', 
  'maxitems'      => 9999,
  'appearance' => array(
   'collapseAll' => 0,
   'levelLinksPosition' => 'top',
   'showSynchronizationLink' => 1,
   'showPossibleLocalizationRecords' => 1,
   'showAllLocalizationLink' => 1
  ),
 ),
),

Ich musste hier einfach foreign_sortby setzen.

Liebe Grüße!
-- 
Kind regards,
Michael

forum.typo3.org/index.php?t=tree&th=208338 direct_mail
forum.typo3.org/index.php?t=tree&th=210808 powermail
forum.typo3.org/index.php?t=tree&th=212804 Core
forum.typo3.org/index.php?t=tree&th=213115 clickenlarge


More information about the TYPO3-german mailing list