Actions
Bug #79180
closedSpecial menus of "Recently updated pages" doesn't work
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-01-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
"Recently updated pages" in special menus content elements cause an SQL error.
Unknown column 'SYS_LASTCHANGED DESC' in 'order clause'
Error appear on line 723 in "typo3/sysext/frontend/Classes/Page/PageRepository.php" when it try to set order
$res->orderBy($sortField);
and $sortField is "SYS_LASTCHANGED DESC".
Suggest fix
$res->orderBy(...GeneralUtility::trimExplode(' ', $sortField, true));
Updated by Wouter Wolters almost 8 years ago
- Status changed from New to Closed
This was solved recently with https://review.typo3.org/#/c/51066/ / https://forge.typo3.org/issues/79113
Actions