Jump to content


Photo

Sort by on What's new and Latest files hook


  • Please log in to reply
1 reply to this topic

#1 Nickaard

Nickaard

    IPB Newbie

  • +Clients
  • 14 posts

Posted 19 May 2012 - 03:06 PM

By default in source/api/api_idm.php, the sort by is set to 'file_submitted DESC'

And if you use a lot the 'version' functionality of ip downloads, you will never see the new version of files you'll upload.

Why not sort by 'file_updated DESC’ ?

#2 bfarber

bfarber

    RBT-KS

  • IPS Management
  • 27,088 posts

Posted 21 May 2012 - 08:42 AM

Are you using this API somewhere yourself? If so, you can pass in a custom order parameter to change it to "file_updated DESC"
Brandon Farber
Developer / Senior Support

If it sounds like fun, it's not allowed on the bus!

Posted Image     Posted Image

Invision Power Services, Inc.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users