Copied to clipboard

Flag this post as spam?

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


  • Barish Sever 20 posts 123 karma points
    Jan 21, 2019 @ 10:30
    Barish Sever
    0

    Multi node tree picker: Sort content by create date

    Hello,

    Our project has a news section on the home page. In the back-office, an editor may select items for that section from news-content-pool by multi node tree picker. However, as he is doing the selection, it is very difficult to find and select the latest news content entries. Would it be possible to sort content nodes by their creation date?

    I have checked the documentation link below, but couldn't figure out how to submit a query by date.

    https://our.umbraco.com/documentation/getting-started/backoffice/property-editors/built-in-property-editors/multinode-treepicker

    Thank you.

  • Barish Sever 20 posts 123 karma points
    Jan 23, 2019 @ 12:44
    Barish Sever
    0

    I found that it is possible to edit orderDirection in umbraco.directives.js. However, apparently the orderBy: 'SortOrder' has no effect on the result. When I check the result on console window, I cannot see the property 'SortOrder' in items.

    Any idea?

    code image

    console image

  • Barish Sever 20 posts 123 karma points
    Jan 23, 2019 @ 13:04
    Barish Sever
    0

    I have just found that a similar bug was posted here : https://github.com/umbraco/Umbraco-CMS/issues/2957

    Is there any fix yet for that issue before I dig into Umbraco Core?

  • Barish Sever 20 posts 123 karma points
    May 06, 2019 @ 12:22
    Barish Sever
    0

    I have fixed the problem by changing the code in core file as described in the link.

Please Sign in or register to post replies

Write your reply to:

Draft