More in this section

Forums / Developing with Sitefinity / News Module: Can I Sort by "ActualPubDate"?

News Module: Can I Sort by "ActualPubDate"?

2 posts, 0 answered
  1. Lou
    Lou avatar
    30 posts
    11 Aug 2011
    03 Feb 2012
    Link to this post
    We created a new field "ActualPubDate" which is an additional date field in the News Widget. We created this because we were adding back-issues of articles that needed a date other than the current date, and SF 4.1x does not allow you to back-date articles.

    My question is, can we use this new field to sort by? Like... "Last Published on Top" pulls from the standard 'date' -- can we swap it for "ActualPubDate" but _only_ in select News Widget Lists?

  2. Grace Hallwachs
    Grace Hallwachs avatar
    144 posts
    03 Nov 2014
    10 Feb 2012
    Link to this post

    Yes, you can use the new field to sort by. On the News widget, click Edit >> Advanced >> ControlDefinition >> Views >> NewsFrontEndList >> SortExpression. Enter in your field name and save.

    Please let us know if you have anymore questions or concerns.

    Grace Hallwachs
    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