[TYPO3-core] RFC: Bugfix #5683: hr processing of label field in backend
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Fri Nov 9 16:54:32 CET 2007
Daniel Pötzinger schrieb:
> +1
> Hey thanks!
>
> Just tested the new patch for trunk (4.2) and it works.
>
> Uploaded new version of testextension to the bug. Where you can see it
> works now with label_alt and also recursive.
>
> ----
> Only comment:
>
> 'label' => 'title',
> 'label_alt' => 'title,relation',
> 'label_alt_force' => '1',
>
> what do you expect this code does?
>
> Well it results in a label like that:
>
> 'title,title,relation'
> in listviews. This means the "label" is always before "label_alt" if
> label_alt_force is set.
>
> This was also behaviour in version 4.0 - so i think it is ok. Just want
> to point this out, cause in Core API this is not cleare specified.
Really? I understood them that label_alt_force always uses ONLY the fields
listed in, well, label_alt_force.
The original idea was that if label is empty we have a fallback. For some
reasons (I don't know) only label_alt supports mutliple fields, so there is
this label_alt_force-feature.
Anyway, I don't think it's ok, to append the (processed) values of both
label properties.
Masi
More information about the TYPO3-team-core
mailing list