Display manually reordered media files in the backend
In Sitefinity CMS backend, you can reorder media files - Images, Videos, and Documents. However, in the backend grid, you cannot see the newly created order. The order applies only to the frontend widgets, for example, the Image Gallery widget.
To change this, you can add the filter to the configuration, by performing the following:
- Open your ~/App_Data/Sitefinity/Configuration/ContentViewConfig.config file.
- Inside the <sortingExpressionSettings> section, add the following lines:
- Restart your application.
You can see the reorder you have made in the backend grid.
NOTE: If you are running Sitefinity CMS version 7.x and above, the system creates an automatic label in the Sort by: dropdown box labeled As manually ordered. Otherwise, you must manually add three labels with Key - As manually ordered and Type - ImagesResources, VideosResources, and DocumentsResources, respectively.
- Refresh the backend page that displays the grid.