Commit 13770c3f authored by Daniel Siepmann's avatar Daniel Siepmann Committed by Daniel Goerz
Browse files

[DOCS] Replace none working orderBy example

The given example does not work and is replaced by a working example.
Doctrine will add ASC as fallback sorting if no sorting direction is
given, leading to an invalid SQL.

Resolves: #93795
Releases: master, 10.4, 9.5
Change-Id: I69f594b4e0ec65586d53ee7f1348c987234a4d19
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68538

Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Daniel Goerz's avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Daniel Goerz's avatarDaniel Goerz <daniel.goerz@posteo.de>
parent 9110a382
......@@ -31,7 +31,7 @@ use TYPO3\CMS\Frontend\ContentObject\DataProcessorInterface;
* table = tt_address
* pidInList = 123
* where = company="Acme" AND first_name="Ralph"
* orderBy = RAND()
* orderBy = sorting DESC
* as = addresses
* dataProcessing {
* 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment