News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Possible to specify default sort order?

Started by DoctorMunoz, 22.02.2019 18:55:53

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DoctorMunoz

I would like to specify a default sort order of date, descending (meaning that files uploaded last should be shown first on the page).

In the configuration, I've only seen the option to enable/disable the display of sort controls, so that users can decide themselves what they want to download; but the default sort order is by the order column, ascending, as far as I saw, such that the latest download will always be shown last. Is it already possible somehow to specify a "newest first" sort order?

I'm using
JDownload version 3.2.63, Joomla version 3.9.3, Apache 2.4.29, MariaDB 10.3.11, PHP 7.2.15 all running on Ubuntu 18.04.2.
  •  

ColinM

Hi
In Config - Front End tab field 'Downloads default sort order'  you can select the default sort order, including Most Recent First.  In the Front End view if you have the sort bare showing and have included Date in the selectable fields (see 'Select the sortable fields', also in Front End tab of Config) then each time you click on Date it reverses the order.

Colin
Colin M
  •  

DoctorMunoz

#2
Thanks very much, I overlooked that option!
  •