Branch: refs/heads/master Home: https://github.com/xwiki-contrib/application-releasenotes Commit: 8fa94c4c6825fecad763177ba9f848f83cf009d6 https://github.com/xwiki-contrib/application-releasenotes/commit/8fa94c4c682... Author: Vincent Massol <[email protected]> Date: 2026-08-31 (Mon, 31 Aug 2026) Changed paths: M application-releasenotes-ui/pom.xml M application-releasenotes-ui/src/main/resources/ReleaseNotes/Code/HomeReleaseChanges.xml A application-releasenotes-ui/src/test/java/org/xwiki/releasenotes/HomeReleaseChangesPageTest.java Log Message: ----------- RN-95: The Release Changes Live Data of the home page is not sorted by creation date any more * Sort the "Release Changes" Live Data of the application home page on the creation date, most recent change first, which is what a reader of that list looks for. The liveData macro applies no sort of its own, unlike the #livetable macro it replaced in RN-75, which selected the first non special column of its column list, i.e. the creation date. Since that conversion the list has been returning its rows in whatever order the database gave them: the results page adds no "order by" clause at all when it is given no sort. * Sort on the creation date although its column is not displayed: only the display of a column is hidden, the property stays part of the query and can be sorted on. * Add a page test asserting the sort in the configuration that the macro hands to Live Data. Asserting the order of the displayed rows instead would prove nothing: without an "order by" the rows can come back in the expected order anyway, and a functional test written that way passed with the sort parameter removed. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: a580ad0dd01053542e9e17c945387d06eae166d1 https://github.com/xwiki-contrib/application-releasenotes/commit/a580ad0dd01... Author: Vincent Massol <[email protected]> Date: 2026-08-31 (Mon, 31 Aug 2026) Changed paths: M application-releasenotes-ui/pom.xml M application-releasenotes-ui/src/main/resources/ReleaseNotes/Code/HomeReleaseChanges.xml A application-releasenotes-ui/src/test/java/org/xwiki/releasenotes/HomeReleaseChangesPageTest.java Log Message: ----------- RN-95: The Release Changes Live Data of the home page is not sorted by creation date any more Compare: https://github.com/xwiki-contrib/application-releasenotes/compare/82eef44ed0... To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/application-releasenotes/settings/notificat...
participants (1)
-
XWiki Notifications