- This topic has 57 replies, 9 voices, and was last updated 7 years, 1 month ago by
Shafayet.
i think when i first had Download Manager installed in asked about sorting by a creation date/upload date which would work with my monthly newsletters. I had this working. Then there was an upgrade and i lost the settings, now i cant find my initial thread where i asked about what change to the date order.
Basically i am after a chronological order
which table in SQL do you look in for the fields that could be changed?
I’m working on sorting by date.
I must add a columm named date to the tabel “ahm_files”.
The plugin must only write the date of all new Downloads to the database.
And there you are.
The mysql command must be “order by date asc”
It’s a lot of work.
Thank you for replying.
Alexander Jank
The tabel odf the manager is the ahm_files tabel.
I’ve found a way, to sort by date….
In the database-tabel “ahm_files”, you start with the mysql command:
ALTER TABLE `ahm_files` CHANGE `description` `description` DATE NOT NULL
Then go ahead to your WordPress and go to File Manager > Manage.
Edit waht you want and write the date of the file into the field for the description, it’s the tall field.
Edit the php-file of the manager and write “order by description asc” or “order by description desc” in the specified lines(600 or 345).
Now it is sorted by date.
push – looks like sorting by id is not yet supported. Sorting by file name wont work when you have file_1, file_2,…file_10 then you end up with file_1,file_10,file_2
I know I am late to the game, but has this issue been resolved? I really need to arrange packages in ascending order by date with categories….
The topic "Sorting Download Files" is closed to new replies.