Breaking: The descending start date constant is renamed
Description
The constant
\FGTCLB\
is renamed to
Sorting, the spelling of
every other sorting option. Its value,
'tx_, is unchanged.
No alias constant is kept for the old name.
Sorting lists every constant of the class, so an
alias would offer the descending start date twice, in the sorting select of the
plugin and in the sorting select of the visitor.
Impact
PHP code that names
Sorting fails with an
error.
Stored values are not affected. The FlexForm of the plugin, the sorting select of the visitor and the route enhancer of the list work with the value of the constant, never with its name, so a project list that sorts by start date descending keeps doing so without a migration, on TYPO3 v13 and v14.
Affected Installations
Installations whose own code names the constant. Search the site package for it:
grep -rn "SORT_BY_STARTDATE_desc" packages/my_sitepackage/
Migration
Use
Sorting instead.