Copied to clipboard

Flag this post as spam?

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


  • Petr Snobelt 923 posts 1534 karma points
    Mar 12, 2010 @ 14:32
    Petr Snobelt
    1

    Reverse sort in media section

    Hello,

    When I add new media it's listed in bottom. Is there a way how to reverse that. I like to have newest first.

    Thanks Petr

  • Laurence Gillian 597 posts 1214 karma points
    Mar 12, 2010 @ 14:40
    Laurence Gillian
    0

    This is something which we've always thought would be useful across Umbraco (media and content).

    /Laurie

  • Douglas Robar 3570 posts 4671 karma points MVP ∞ admin c-trib
    Mar 12, 2010 @ 14:47
    Douglas Robar
    1

    An event handler ought to do the job for you. Here's a similar thread and a fuller discussion: http://our.umbraco.org/forum/developers/extending-umbraco/7764-auto-sort-nodes-by-nodedate

    cheers,
    doug.

  • Petr Snobelt 923 posts 1534 karma points
    Mar 12, 2010 @ 16:18
    Petr Snobelt
    0

    Thank you Doug.

    I hope something is build in, but I have chance to create my first event handler :-)

    Petr

  • Petr Snobelt 923 posts 1534 karma points
    Mar 17, 2010 @ 15:25
    Petr Snobelt
    1

    It's simple class and work for both documents and media. If anyone is interested I can create wiki page or project...

    Petr

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Mar 17, 2010 @ 16:00
    Dirk De Grave
    0

    Yes, Petr, you're more than welcome to share your code in a wiki post, much appreciated!

     

    Cheers,

    /Dirk

  • Petr Snobelt 923 posts 1534 karma points
    Mar 22, 2010 @ 20:08
    Petr Snobelt
    0

    Wiki page:

    http://our.umbraco.org/wiki/reference/api-cheatsheet/using-applicationbase-to-register-events/event-examples/change-default-newitems-sorting

     

    What's bad is that my project is in old umbraco v3 and it don't working here. Is there any workaround other then modifiing core for v3?

    Petr

  • mfeola 117 posts 221 karma points
    Aug 11, 2015 @ 21:33
    mfeola
    0

    umbrao v7 and this issue still comes up huh?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies