This page should only be used if script asks you to manually migrate skin.20240425.FORMS.entries-sort-direction
A new parameter for the forms "Dashboard" service lets you choose the order in which entries are displayed, by ascending or descending submission date.
In the services/forms/pages/services/common/admin-dashboard.xsl of your chart, if you have overloaded dashboard initialization by calling up DashboardHelper.initializeAdmin you must add this new parameterentriesSortOrder" to the dashboard configuration as follows:
$j().ready(function() { DashboardHelper.initializeAdmin("<xsl:value-of select="$uniqueId" />", { onShowDashboard: onShowDashboard_<xsl:value-of select="$uniqueId"/>, onShowActionDialog: onShowActionDialog_<xsl:value-of select="$uniqueId" />, onHideActionDialog: onHideActionDialog_<xsl:value-of select="$uniqueId" />, onShowError: onShowError_<xsl:value-of select="$uniqueId" />, nbEntriesByPage: "<xsl:value-of select='$nb-entries-by-page' />", entriesSortOrder: "<xsl:value-of select='$entries-sort-order' />", dashboardAdminView: "<xsl:value-of select="$dashboard-view"/>" }); });
$j().ready(function() { DashboardHelper.initializeAdmin("<xsl:value-of select="$uniqueId" />", { onShowDashboard: onShowDashboard_<xsl:value-of select="$uniqueId"/>, onShowActionDialog: onShowActionDialog_<xsl:value-of select="$uniqueId" />, onHideActionDialog: onHideActionDialog_<xsl:value-of select="$uniqueId" />, onShowError: onShowError_<xsl:value-of select="$uniqueId" />, nbEntriesByPage: "<xsl:value-of select='$nb-entries-by-page' />", entriesSortOrder: "<xsl:value-of select='$entries-sort-order' />", dashboardAdminView: "<xsl:value-of select="$dashboard-view"/>" }); });
$j().ready(function() { DashboardHelper.initializeAdmin("<xsl:value-of select="$uniqueId" />", { onShowDashboard: onShowDashboard_<xsl:value-of select="$uniqueId"/>, onShowActionDialog: onShowActionDialog_<xsl:value-of select="$uniqueId" />, onHideActionDialog: onHideActionDialog_<xsl:value-of select="$uniqueId" />, onShowError: onShowError_<xsl:value-of select="$uniqueId" />, nbEntriesByPage: "<xsl:value-of select='$nb-entries-by-page' />", entriesSortOrder: "<xsl:value-of select='$entries-sort-order' />", dashboardAdminView: "<xsl:value-of select="$dashboard-view"/>" }); });