Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.4
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
Problem
The "Release Changes" Live Data of the release notes home page (ReleaseNotes.Code.HomeReleaseChanges) has no default sort, so the rows are returned in whatever order the query produces them and the most recently created changes are not the ones the reader sees first.
Until RN-75 replaced the LiveTable with a Live Data, the #livetable macro picked a default sort column by itself (the first non special column of the column list, i.e. doc.creationDate). The liveData macro does not pick one, and no sort parameter was passed when the list was converted: the "Release Notes" Live Data of the same page got one (sort="date:desc"), the "Release Changes" one did not.
Proposal
Pass sort="doc.creationDate:desc" to the liveData macro, so that the changes added last are listed first, which is what a reader of that list is looking for. The doc.creationDate column is hidden by default (see RN-85) but that only affects its display: it is still part of the query and can be sorted on.