Uploaded image for project: 'Release Notes Application'
  1. Release Notes Application
  2. RN-95

The Release Changes Live Data of the home page is not sorted by creation date any more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.5.1
    • 2.4
    • Application
    • 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.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: