News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

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!
  •