Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • dan.mills 3 posts 73 karma points
    Nov 09, 2016 @ 17:13
    dan.mills
    0

    how do i order by a custom field in back office

    Hi Guys,

    we have a listview set up for our blog posts back office section but the orderby list only shows a few items and nothing custom. I would like to order by the postDate but it doesn't show up in the list.

    not all of the blog posts have a postDate yet, but i'd think if there isn't a value in the object then it would just not order it.

    Can someone tell me where i am going wrong?

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Nov 09, 2016 @ 17:32
    Dennis Aaen
    0

    Hi Dan and welcome to our.

    Have tried to save the list view after you have added the custom fields to the list view.

    After you have saved the list view data type, then you should see the custom fields in the sort by dropdown

    enter image description here

    Hope this helps,

    /Dennis

  • dan.mills 3 posts 73 karma points
    Nov 09, 2016 @ 17:51
    dan.mills
    0

    Hi Dennis,

    Thanks for the quick reply, unfortunately that's not worked. I have changed the controller settings so that it displays properly on the front end but i still can't order by the PostDate field

    thanks Dan

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Nov 09, 2016 @ 18:34
    Dennis Aaen
    0

    Hi Dan,

    What version of Umbraco CMS are you using at the moment, if you are using a version lower than 7.5.0 then I think that you have hit into http://issues.umbraco.org/issue/U4-8749 and http://issues.umbraco.org/issue/U4-6003

    Then you need to upgrade to at least 7.5.0.

    Hope this helps,

    /Dennis

  • dan.mills 3 posts 73 karma points
    Nov 10, 2016 @ 10:21
    dan.mills
    0

    Hi Dennis,

    we're on 7.4.3 and the links you've sent should help.

    Thanks for your help mate, I appreciate it,

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Nov 10, 2016 @ 10:54
    Dennis Aaen
    0

    Hi Dan,

    You are welcome, for upgrading your Umbraco installation you should follow this guide.

    https://our.umbraco.org/documentation/Getting-Started/Setup/Upgrading/

    Hope this helps,

    /Dennis

Please Sign in or register to post replies

Write your reply to:

Draft