More in this section
Forums / Developing with Sitefinity / News List custom sorting

News List custom sorting

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Barys
    Barys avatar
    1 posts
    15 Mar 2011
    31 May 2011
    Link to this post
    Hello everybody.

    I created a custom field for News Item called ShowOrder. It's Number and contains values like 1, 2, 3, etc. Now I want to show News List sorted by this field. Unfortunately, I cannot choose it in List Settings. Also I tried to change SortExpression in NewsFrontendList, but when I'm trying to save value which is ShowOrder DESC it changes back to PublicationDate DESC.

    It would be great, if someone explains how I could implement this sorting.


  2. Sonya
    Sonya avatar
    205 posts
    09 Dec 2016
    03 Jun 2011
    Link to this post
    Hi Barys,

    There is indeed an issue with setting SortExpression using custom fields. Once the SortExpression is set the sorting is applied but the field is not updated. Every time you edit the widget you should update the SortExpression in order to save the sorting.
    The issue is  logged in our system and forwarded for fixing.  You can monitor the status of the bugs in our issue tracking system PITS. The issue ID is 6361.

    I updated your Telerik points.

    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered