[DOCS] proofreading and moving of important rst files
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / 7.4 / Important-68290-DefaultBehaviorForTCASuggestWizardChanged.rst
1 ===================================================================
2 Important: #68290 - Default behavior for TCA suggest wizard changed
3 ===================================================================
4
5 Description
6 ===========
7
8 The suggest wizard by default searches in the whole word instead only the beginning now. This might have performance
9 implications for large sites with a lot of records and/or sites that have a lot of tables that are searched, as the
10 search is done with a ``LIKE "%searchterm%"``.
11
12 To switch back to the old behavior add ``searchWholePhrase = FALSE`` to the config of the suggest wizard.
13
14 Example to reset it for ``page.shortcut``:
15
16 .. code-block:: php
17
18         'shortcut' => array(
19                 'config' => array(
20                         'type' => 'group',
21                         'internal_type' => 'db',
22                         'allowed' => 'pages',
23                         'size' => '1',
24                         'maxitems' => '1',
25                         'minitems' => '0',
26                         'show_thumbs' => '1',
27                         'wizards' => array(
28                                 'suggest' => array(
29                                         'type' => 'suggest',
30                                         'default' => array(
31                                                 'additionalSearchFields' => 'nav_title, alias, url',
32                                                 'searchWholePhrase' => FALSE
33                                         )
34                                 )
35                         )
36                 )
37         ),