Issue Bug Closed

#21924suggest wizard does not work properly with TCA fields of type "select"

Franz Koch 01/07/10, 19:05 updated 10/23/17, 22:19

Description

Also the pending documentation claims that the new suggest wizard is working nicely with group and select fields, it’s not the case for select fields for two reasons:
a) ‘foreign_table’ is not taken into account for the search, only ‘allowed’ which is not present in select field configurations by default

b) once a) is fixed, the JS part of the suggest box is handling the search results wrong because the ID values of the generated option fields always have the tablename prepended as it’s needed for group fields, but not select fields

The attached patch has as first step a patch for a). I didn’t have a closer look at the JS part yet – maybe if one who knows what to do could provide a patch for the JS? Thanks.

The attatched patch is also introducing a new configuration option for the wizard, that allows to define additional search fields in which the wizard should search in.
(issue imported from #M13172)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.