Skip to content

Commit

Permalink
Add defaultSearchField to documentation (#1430)
Browse files Browse the repository at this point in the history
Co-authored-by: Fritz Michael Gschwantner <[email protected]>
  • Loading branch information
ReneLuecking and fritzmg authored Aug 22, 2024
1 parent b932385 commit c2ea773
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/dev/reference/dca/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ $GLOBALS['TL_DCA']['tl_example']['list']['sorting'] = [
| rootPaste | true/false (`bool`) | Enable paste buttons at root level. (default: false) |
| filter | Query filter (`array`) | Allows you to add custom filters as arrays, e.g. `[['status=?', 'active'], ['usages>?', 0]]`. |
| disableGrouping | true/false (`bool`) | Allows you to disable the group headers in list view and parent view. |
| defaultSearchField | Field name (`string`) | {{< version-tag "5.1" >}} Set a default search field for the search records menu instead of selecting the alphabetically first field. |
| [paste_button_callback](../callbacks#list-sorting-paste-button) | Callback function (`array`) | These functions will be called instead of displaying the default paste buttons. Please specify as `['Class', 'Method']` or use an anonymous function. |
| [child_record_callback](../callbacks#list-sorting-child-record) | Callback function (`array`) | These functions must be specified to render the child elements (sorting mode 4 only). Please specify as `['Class', 'Method']` or use an anonymous function. |
| [header_callback](../callbacks#list-sorting-header) | Callback function (`array`) | These functions will be called when the header fields (sorting mode 4 only) are created. Please specify as `['Class', 'Method']` or use an anonymous function. |
Expand Down

0 comments on commit c2ea773

Please sign in to comment.