Project

General

Profile

Actions

Bug #21924

closed

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

Added by Franz Koch about 14 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2010-01-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)


Files

suggest-wizard-selectFields.diff (1.85 KB) suggest-wizard-selectFields.diff Administrator Admin, 2010-01-07 19:05
suggest-wizard-selectFields_v2.diff (4.63 KB) suggest-wizard-selectFields_v2.diff Administrator Admin, 2010-01-07 19:46
patch_4-6.patch (5.92 KB) patch_4-6.patch Tolleiv Nietsch, 2012-05-02 15:04

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #17874: Add suggest-like feature to TCEformsClosedRupert Germann2007-12-02

Actions
Actions

Also available in: Atom PDF