Sorting Order of the User Files Plugin

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
4 months 2 weeks ago - 4 months 2 weeks ago #168200 by hide10
Hello,

We are currently testing the User Files plugin. It meets our needs very simply and we find it excellent.

However, there is one drawback. When users view My Files on the frontend, it appears to sort file names in ascending order. We would prefer this to be sorted in descending order. Since we often add date information such as "202407" to the beginning of file names, it is more convenient for us if the most recent files are always displayed at the top, which would require sorting the file names in descending order.

Is there a way to change the sort order to descending by file name?

Thanks
Last edit: 4 months 2 weeks ago by hide10. Reason: Adding paragraphs

Please Log in or Create an account to join the conversation.

More
4 months 2 weeks ago #168203 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Sorting Order of the User Files Plugin
Hi

I just updated code to support that. You can update your site to latest package of the extension, then edit the plugin, set Short Files Direction parameter to DESC and it should work as you want

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
4 months 2 weeks ago #168204 by hide10
Replied by hide10 on topic Sorting Order of the User Files Plugin
Hi,

I promptly updated with the latest package.
New parameters have been added to the plugin, and it is functioning as expected. Perfect!
I am always grateful for your quick support.

Thank you very much!  

Please Log in or Create an account to join the conversation.

More
4 months 2 weeks ago #168205 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Sorting Order of the User Files Plugin
You're welcome. Happy to add the minor improvement which could help !

Tuan

Please Log in or Create an account to join the conversation.