[TYPO3-german] Überschreiben einer TCA-Definition erzeugt einen SQL-Fehler

Johannes C. Laxander jc at laxander.com
Fri Nov 18 18:14:52 CET 2016


Hallo Gregor,

Super! Vielen Dank für deine Hilfe, du hast mir den Feierabend und das Wochenende gerettet ;)

Gruß, Johannes.

Und auch dir ein entspanntes Wochenende und einen schönen Freitagabend-Feierabend...

> -----Ursprüngliche Nachricht-----
> Von: typo3-german-bounces at lists.typo3.org [mailto:typo3-german-
> bounces at lists.typo3.org] Im Auftrag von Gregor Hermens
> Gesendet: Freitag, 18. November 2016 16:43
> An: typo3-german at lists.typo3.org
> Betreff: Re: [TYPO3-german] Überschreiben einer TCA-Definition erzeugt
> einen SQL-Fehler
> 
> Hallo Johannes,
> 
> Johannes C. Laxander wrote:
> 
> > Nun habe ich in
> > Configuration/TCA/Overrides/tx_jobfair_domain_model_job.php diese
> > Deefinition geändert / überschrieben mit:
> >
> > $GLOBALS['TCA']['tx_jobfair_domain_model_job']['ctrl'] = array(
> > 'title' => 'Meine Tabelle', 'label' => 'zip', 'label_alt' =>
> > 'location,job_title', 'label_alt_force' => 1, 'sortby' =>
> > 'zip,job_title', 'searchFields' =>
> > 'job_title,location,short_job_description,job_type,region,contact,zip'
> > ,
> > );
> 
> du hast das Feld 'sortby' fehlinterpretiert:
> 
> https://docs.typo3.org/typo3cms/TCAReference/Reference/Ctrl/Index.html
> #sortby
> 
> Zitat: "The field should not be editable by the user since the TCE will manage
> the content automatically in order to manage the order of records."
> 
> Für deine Zwecke ist das Feld 'default_sortby' gedacht.
> 
> hth
> Gruß,
> Gregor
> --
> http://www.a-mazing.de/   |   Certified TYPO3 Integrator
> 
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german



More information about the TYPO3-german mailing list